[SNMP4J] ipAdEntAddr not being sent from agent to management software

Frank Fock fock at agentpp.com
Sat May 26 11:06:20 CEST 2007


Hi Jeff,

 From your description it seems to be rather a bug/problem
with the management software than with the agent.
The agent does not "parse OID strings". On the wire,
there are always OIDs in the numerical dotted format
(BER encoded).

Best regards,
Frank

Jeff Garrett wrote:
> Hi all.
> I am using the SNMP4J-Agent to simulate being an actual network element 
> (NE).  So far, it is going well, except for one small thing.
> 
> When communicating with upper level management software, the GET 
> requests are responding properly.  However, when the management software 
> issues a request for the OID for a key called "ipAdEntAddr" the agent 
> does not return an OID.  An exception is thrown stating that it cannot 
> parse the OID string for <ipAdEndAddr>.  I have connected to a real NE 
> and seen the printouts and logs, and the real NE returns an OID for this 
> key and the real IP Address(es).  However, the agent does not return an 
> OID nor its IP Address and it does not show up in the prinouts and logs.
> 
> Has anyone else seen this before?  Does anyone know what I can do to the 
> agent (and where)?  I set the address field to the proper IP address 
> (otherwise I couldn't conenct ti it and issue get/set requests).  I 
> don't understand why the agent wouldn't return its own IP Address here.
> 
> I have been debugging all day today and am lost for what else I can do.  
> Hopefully someone can help me here.
> 
> Thanks.
> Jeff Garrett
> 

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list