Difference between revisions of "FAQ:MIBs 09"

From Net-SNMP Wiki
Jump to: navigation, search
(Move FAQ text to a template page & 5.4 release synchronisation)
(Latest FAQ revision - preparing for 5.5 release)
 
Line 1: Line 1:
= Do I actually need the MIB files? =
+
= What's this about "too many imported symbols"? =
  
 
<!-- NB:
 
<!-- NB:
Line 7: Line 7:
 
   MIBs section.
 
   MIBs section.
 
  -->
 
  -->
{{FAQ:MIBs_11}}
+
{{FAQ:MIBs_10}}
  
 
     [[FAQ:MIBs]]
 
     [[FAQ:MIBs]]
 
     {{FAQ:MIBs}}
 
     {{FAQ:MIBs}}

Latest revision as of 12:08, 28 May 2009

What's this about "too many imported symbols"?

Any MIB file starts with an (optional) list of identifiers that it "imports" from other files. The parser handles this using a fixed size buffer to hold the import information. There are two circumstances in which this can result in the error message shown above.

Firstly, if the MIB file refers to an unusually large number of external identifiers. Handling this case requires a (trivial) patch to the parsing code. Contact the coders list for advice. (This is extremely rare - the only example that we've come across is the Cabletron Trap MIB).

Much more common is a syntax error in the IMPORTS clause of the MIB file in question. In particular, check that this section ends in a semicolon, before going on to the main MIB object definitions.

   FAQ:MIBs
   
  1. Where can I find a MIB compiler?
  2. Why aren't my MIB files being read in?
  3. Where should I put my MIB files?
  4. What does "Cannot find module (XXX-MIB)" mean?
  5. I'm getting answers, but they're all numbers. Why?
  6. What does "unlinked OID" mean?
  7. The parser doesn't handle comments properly. Why not?
  8. How can I get more information about problems with MIB files?
  9. What's this about "too many imported symbols"?
  10. Do I actually need the MIB files?