FAQ:MIBs 04

From Net-SNMP Wiki

Jump to: navigation, search

What does "Cannot find module (XXX-MIB)" mean?

If this error is only generated for one or two modules, then it's likely that the named modules are not being found - perhaps they're not installed in the correct location, are not readable, or the name being used is incorrect. Note that the name reported is the name of the MIB module, which is not necessarily the same as the name of the file. See the question How do I add a MIB to the tools? for more details on this.

If there are a large number of such errors, then it's more likely that either the MIB files haven't been installed at all, or the library is looking in the wrong place for them.

Try running snmptranslate -Dparse-mibs to see where the MIB files are expected to be found.

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