[SNMP4J] SNMP get of sysDescr resulting in "noSuchInstance" r esponse
PHIL BERGSTRESSER
phil.bergstresser at adtran.com
Fri Jan 28 17:42:20 CET 2005
Very basic SNMP fundamental concept. Scalars have a virtual index of 0 while table objects have indexes defined by the table.
If you had done a getNext, the agent would have walked up to the next lexigraphically ordered OID.0 and it would have appeared to have worked.
Do you have access to David Perkins's excellent text "Understanding SNMP MIBs"? That would help you a lot. It did me.
HTH,
Phil
-----Original Message-----
From: snmp4j-bounces at agentpp.org [mailto:snmp4j-bounces at agentpp.org]On
Behalf Of Truyen Vu
Sent: Thursday, January 27, 2005 5:50 PM
To: Frank Fock
Cc: snmp4j at agentpp.org
Subject: RE: [SNMP4J] SNMP get of sysDescr resulting in "noSuchInstance"
response
Thank you, Frank for your quick response. Your suggestion works! Could
you please explain why appending a ".0" to the end of the sysDescr OID
is necessary?
Thanks
-----Original Message-----
From: Frank Fock [mailto:fock at agentpp.com]
Sent: Thursday, January 27, 2005 3:23 PM
To: Truyen Vu
Cc: snmp4j at agentpp.org
Subject: Re: [SNMP4J] SNMP get of sysDescr resulting in "noSuchInstance"
response
Truyen Vu wrote:
>I'm trying to do a simple SNMP get to obtain "sysDescr" and the
response
>I'm getting is "noSuchInstance". What am I doing wrong? Thank you for
>your help.
>
>
>
If you get a noSuchInstance report then probably you should append
a ".0" instance identifier to the end of the sysDescr OID.
Best regards,
Frank
_______________________________________________
SNMP4J mailing list
SNMP4J at agentpp.org
http://p15141779.pureserver.info/mailman/listinfo/snmp4j
More information about the SNMP4J
mailing list