Difference between revisions of "Template:FAQ:Coding 05"
From Net-SNMP Wiki
m (Simple wiki markup) |
m (Latest FAQ revision - preparing for 5.5 release) |
||
Line 1: | Line 1: | ||
− | This is most likely the same problem as | + | This is most likely the same problem as the [[FAQ:Coding_04|previous entry]]. <CODE>mib2c</CODE> |
− | takes the name of a MIB object, not the name of a file (or a MIB | + | takes the name of a MIB ''object'', not the name of a file (or a MIB |
module). Try using the name of the <CODE>MODULE-IDENTITY</CODE> | module). Try using the name of the <CODE>MODULE-IDENTITY</CODE> | ||
definition. | definition. |
Latest revision as of 19:36, 20 July 2009
This is most likely the same problem as the previous entry. mib2c
takes the name of a MIB object, not the name of a file (or a MIB
module). Try using the name of the MODULE-IDENTITY
definition.
Another possibility is that the MIB may contain syntax errors.
Try running it through 'snmptranslate'
or a dedicated SMI
validation tool (such as 'smilint'
or the on-line interface at
http://wwwsnmp.cs.utwente.nl/ietf/mibs/validate/)