Template:FAQ:Applications 04

From Net-SNMP Wiki
Revision as of 15:22, 28 December 2006 by Dts12 (Talk | contribs) (Fix reference to the AGENT section)

Jump to: navigation, search


If you're walking a specific tree, but failing to see anything in it, then the most likely cause is that the agent simply does not implement those particular MIB objects. Or if it does, that the access control or other configuration settings mean that there's nothing for you to see there.

However, if you're trying a basic 'snmpwalk' with no explicit OID specified, then this would also explain why you're not seeing any enterprise-specific results.

By default, unless given an explicit starting OID, then the 'snmpwalk' command will display the contents of the 'mib-2' tree, containing most of the IETF-standard management information supported by the agent. When the agent reaches the end of this tree, it will return the first enterprise-specific value, and 'snmpwalk' will recognise that this marks the end of the (implicit) request tree, and stop. No enterprise-specific information will be displayed.

To walk the whole tree, and see all the information that the agent supports, specify a starting point of '.iso' or '.1'.

To walk a specific enterprise subtree, specify the root of this tree as the starting point - e.g:

       snmpwalk -v1 -c public localhost UCD-SNMP-MIB::ucdavis
 

There is more information about particular UCD-specific subtrees in the Agent section.