Section C.1. Net-SNMP and MIB Files


C.1. Net-SNMP and MIB Files

By default, Net-SNMP reads the MIB files in the directory /usr/local/share/snmp/mibs. When you install Net-SNMP, it populates this directory with a few dozen MIB files, including the UCD MIB (Net-SNMP used to be called UCD-SNMP) and the RFC 1213 MIB (MIB-II). Net-SNMP uses the MIB files to translate between numeric object IDs and their textual representations. The MIB files also give the tools access to information about each object (its syntax, the type of access allowed, its description, etc.). Adding a vendor-specific MIB file to Net-SNMP is as simple as placing it in the mibs directory and setting the environment variable $MIBS to ALL, as discussed in the next section.




Essential SNMP
Essential SNMP, Second Edition
ISBN: 0596008406
EAN: 2147483647
Year: 2003
Pages: 165

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net