Difference between revisions of "Template:FAQ:MIBs 09"

From Net-SNMP Wiki
Jump to: navigation, search
(5.4 release synchronisation)
(Latest FAQ revision - preparing for 5.5 release)
 
Line 22: Line 22:
 
See the <CODE>'snmptranslate(1)'</CODE> and <CODE>'snmpcmd(1)'</CODE> man pages for more details,
 
See the <CODE>'snmptranslate(1)'</CODE> and <CODE>'snmpcmd(1)'</CODE> man pages for more details,
 
or the tutorial at http://www.net-snmp.org/tutorial-5/commands/snmptranslate.html
 
or the tutorial at http://www.net-snmp.org/tutorial-5/commands/snmptranslate.html
 +
 +
 +
For a more rigourous validation, use a tool such as '<CODE>smilint</CODE>', or the
 +
on-line interface at http://wwwsnmp.cs.utwente.nl/ietf/mibs/validate/

Latest revision as of 12:39, 28 May 2009

The command 'snmptranslate' is used to translate between numeric and symbolic forms of OIDs. It uses the same MIB parsing routines as the commands that actually communicate with a network management agent, but can be used standalone. As such, it is a useful tool for identifying problems with reading in MIB files.

In particular, the following options may be useful in identifying problems:

       -Pw  warns about conflicting symbols
       -PW  prints more verbose warnings about other problems as well
               (in both cases, ignore the 'xmalloc' reports)
       -T   provides sub-options for various views of these entries

There are other '-P' options to control various aspects of MIB parsing. See the 'snmptranslate(1)' and 'snmpcmd(1)' man pages for more details, or the tutorial at http://www.net-snmp.org/tutorial-5/commands/snmptranslate.html


For a more rigourous validation, use a tool such as 'smilint', or the on-line interface at http://wwwsnmp.cs.utwente.nl/ietf/mibs/validate/