2009/3/6 Vinod Nanjaiah <vinod_nanja...@mindtree.com>:
> If I use the OID I get the correct value, but if I use the name
> (myDvrName.0) it throws up an error.
>
> snmpget -v1 -cpublic 172.22.65.58  1.3.6.1.3.75.1.1.0
>
> returns
>
> SNMPv2-SMI::experimental.75.1.1.0 = STRING: "Hello World"

Which implies that the MIB defining "experimental.75" is not loaded.


> But,
>
> snmpget -m all -v1 -cpublic 172.22.65.58 myDvrName.0 gives “Unknown Object
> Identifier” error.
>
> [myDvrName.0: Unknown Object Identifier (Sub-id not found: (top) -> 
> myDvrName)]

Try loading the MIB that defines "myDvrName"

Given that you're using "-m all", it may be that you still need to copy this
MIB file into the appropriate location  (typically either /usr/share/snmp/mibs
or /usr/local/lib/snmp/mibs)

There's more information about loading MIBs in the FAQ

Dave

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to