Format for specifying variable names for SNMP utilities
/etc/mib.txt
The mib.txt file defines the format for specifying variable names for SNMP utilities. Each entry in the file is a variable name in ASN.1 notation for object identifiers, as defined in RFC 1065. The format is:
[.]A.B.C.D...
where A, B, C, D... are sub-identifiers in one of these forms:
Or:
If you don't precede the variable name with a . (dot), SNMP utilities add the prefix iso.org.dod.internet.mgmt.mib to the name. To fully specify the variable name, you must place a . (dot) before the first sub-identifier.
For example, the following refer to the same variable:
1.1.0 system.sysDescr.0 1.sysDescr.0 1.3.6.1.2.1.1.1.0 iso.org.dod.internet.mgmt.mib.system.sysDescr.0 .1.3.6.1.2.1.1.sysDescr.0
SNMP utilities search for a description of the variables in the following files, in this order:
snmpget, snmpgetnext, snmptest, snmptrapd, snmpwalk
ISO IS 8824 (ASN.1), RFC 1065, RFC 1066, RFC 1067, RFC 1446