FAQ:MIBs 04

From Net-SNMP Wiki
Revision as of 21:42, 25 October 2006 by Dts12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I'm getting answers, but they're all numbers. Why?

This is actually the same as the previous question. Because the tools don't read in every MIB module they can find, it is quite possible for results from an agent to refer to modules that have not been loaded (particularly with GETNEXT requests, or when walking a tree). The tools will report the answer quite correctly, but won't translate identifiers and enumerations into readable strings. To fix this, use the environmental variables MIBS or MIBFILES (or the '-m' and '-M' flags) to read in the relevant module files.

   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?