Dave,
in case I saw only few generic values, I used following command:

snmpwalk -v 1 -c public -On I.I.P.P

All the more useful device specific values were under
.1.3.6.1.4.1.<enterprise number>. However, if I don't specify the
<enterprise number> and execute:

snmpwalk -v 1 -c public -On I.I.P.P .1.3.6.1.4.1

..I got no replies. So the main questions was, are there some sort of
techniques out there to find out OID values under .1.3.6.1.4.1 and the
answer seems to be:

snmpgetnext -v 1 -c public -On I.I.P.P .1.3.6.1.4.1

..if SNMP agent is implemented properly :)


In addition, in case of this radio device, it really seems to behave
incorrectly. Check this:

martint@ibm:~> snmpwalk -v 1 -c public -On 10.10.10.1 .1.3.6.1.4.1
martint@ibm:~> snmpgetnext -v 1 -c public -On 10.10.10.1 .1.3.6.1.4.1
.1.3.6.1.2.1.1.1.0 = STRING: SAF microwave radio
martint@ibm:~>

Is there some RFC I could point to when contacting the vendor
regarding this odd behaviour where snmpgetnext under
".iso.org.dod.internet.private.enterprise" gives the value from
".iso.org.dod.internet.mgmt.mib-2"?


PS thank you for explaining regarding vendor-specific MIB files! I
always thought they have some deeper meaning than only translating
OID's to semi-meaningful names :)


regards,
martin


2011/9/12 Dave Shield <[email protected]>:
> On 7 September 2011 09:11, Martin T <[email protected]> wrote:
>> if I do:
>>
>> [martint@ ~]$ snmpgetnext -v 1 -c public -On 10.10.10.1 .1.3.6.1.4.1
>> .1.3.6.1.2.1.1.1.0 = STRING: SAF microwave radio
>
> If that's true, then complain to the vendor.
> Because this is broken behaviour.
>
> If you issue GETNEXT on .1.3.6.1.4.1
> then you should receive something *after* this OID,
> or else a 'noSuchName' error.
>   You should not be getting information for an OID
> that comes before what you asked for.
>
>
> Dave
>

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to