snmpInpkts and sysUpTime are also scalar.
Then how these mibs objects are replying with No Such Instance currently 
exists at this OID.

opt/servers/netsnmp/bin/snmpwalk  -v 2c -c private 172.16.x.xxx 
snmpInPkts.4294967295
SNMPv2-MIB::snmpInPkts.4294967295 = No Such Instance currently exists at 
this OID
/opt/servers/netsnmp/bin/snmpwalk  -v 2c -c private 172.16.x.xxx 
sysUpTime.4294967295
SNMPv2-MIB::sysUpTime.4294967295 = No Such Instance currently exists at 
this OID




Eirik Nordbrøden wrote:
>> -----Original Message-----
>> From: Robert Story [mailto:[email protected]] 
>> Sent: 17. november 2010 15:05
>> To: Manjit
>> Cc: [email protected]
>> Subject: Re: Issue with handling large sub-identifiers
>>
>> On Wed, 17 Nov 2010 12:45:40 +0530 Manjit wrote:
>> M> The subidentifier is changed to 4294967295 from 0. But the below query 
>> M> returns "noSuchObject" in place of "noSuchInstance".
>> M> /opt/servers/netsnmp/bin/snmpget  -v 2c -c private  172.16.8.86 
>> M> 1.3.6.1.2.1.92.1.1.1.4294967295
>> M> NOTIFICATION-LOG-MIB::nlmConfigGlobalEntryLimit.4294967295 = No Such 
>> M> Object available on this agent at this OID
>> M> 
>> M> Is there something wrong with my understanding ?
>>
>> nlmConfiGlobalEntryLimit is a scalar, and thus always ends with .0. Thus the
>> correct answer for any value other than .0 is indeed noSuchObject.
>>     
>
> But I get
>
> $  snmpget localhost sysUpTime.4294967295
> SNMPv2-MIB::sysUpTime.4294967295 = No Such Instance currently exists at this 
> OID 
> $  snmpget localhost ifNumber.4294967295
> IF-MIB::ifNumber.4294967295 = No Such Instance currently exists at this OID
> $  snmpget localhost snmpInPkts.4294967295
> SNMPv2-MIB::snmpInPkts.4294967295 = No Such Instance currently exists at this 
> OID 
> $  snmpget localhost nlmConfigGlobalEntryLimit.4294967295
> NOTIFICATION-LOG-MIB::nlmConfigGlobalEntryLimit.4294967295 = No Such Object 
> available on this agent at this OID
>
> Is there a difference between these objects?
>
> Eirik Nordbrøden, Morecom A/S
> (+47) 90174789
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> Net-snmp-coders mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
>   


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to