Difference between revisions of "Template:FAQ:Coding 06"

From Net-SNMP Wiki
Jump to: navigation, search
m (Simple wiki markup)
m (Latest FAQ revision - preparing for 5.5 release)
 
Line 1: Line 1:
This is usually a sign of the same problem as above - giving
+
This is usually a sign of the same problem as the [[FAQ:Coding_04|previous entries]] - giving
 
<CODE>mib2c</CODE> the name of the file containing the MIB
 
<CODE>mib2c</CODE> the name of the file containing the MIB
 
(or of the MIB itself), rather than an object within it.
 
(or of the MIB itself), rather than an object within it.
  
 
Earlier versions of <CODE>mib2c</CODE> didn't detect this
 
Earlier versions of <CODE>mib2c</CODE> didn't detect this
situation, and rather than report an error, it merrily
+
situation, and merrily constructed a template
constructed a template
+
 
for a default starting point of the <CODE>mib-2</CODE> node.
 
for a default starting point of the <CODE>mib-2</CODE> node.
  
More recent versions issue the error mentioned above instead.
+
More recent versions complain about not having a valid OID instead.

Latest revision as of 19:38, 20 July 2009

This is usually a sign of the same problem as the previous entries - giving mib2c the name of the file containing the MIB (or of the MIB itself), rather than an object within it.

Earlier versions of mib2c didn't detect this situation, and merrily constructed a template for a default starting point of the mib-2 node.

More recent versions complain about not having a valid OID instead.