Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
AGENTX-MIB.txt
BRIDGE-MIB.txt
DISMAN-EVENT-MIB.txt
DISMAN-EXPRESSION-MIB.txt
DISMAN-NSLOOKUP-MIB.txt
DISMAN-PING-MIB.txt
DISMAN-SCHEDULE-MIB.txt
DISMAN-SCRIPT-MIB.txt
DISMAN-TRACEROUTE-MIB.txt
EtherLike-MIB.txt
HCNUM-TC.txt
HOST-RESOURCES-MIB.txt
HOST-RESOURCES-TYPES.txt
IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt
IANA-LANGUAGE-MIB.txt
IANA-RTPROTO-MIB.txt
IANAifType-MIB.txt
IF-INVERTED-STACK-MIB.txt
IF-MIB.txt
INET-ADDRESS-MIB.txt
IP-FORWARD-MIB.txt
IP-MIB.txt
IPV6-FLOW-LABEL-MIB.txt
IPV6-ICMP-MIB.txt
IPV6-MIB.txt
IPV6-TC.txt
IPV6-TCP-MIB.txt
IPV6-UDP-MIB.txt
LM-SENSORS-MIB.txt
MTA-MIB.txt
Makefile.in
Makefile.mib
NET-SNMP-AGENT-MIB.txt
NET-SNMP-EXAMPLES-MIB.txt
NET-SNMP-EXTEND-MIB.txt
NET-SNMP-MIB.txt
NET-SNMP-MONITOR-MIB.txt
NET-SNMP-PASS-MIB.txt
NET-SNMP-PERIODIC-NOTIFY-MIB.txt
NET-SNMP-SYSTEM-MIB.txt create patch branch copy Oct 11, 2010
NET-SNMP-TC.txt
NET-SNMP-VACM-MIB.txt
NETWORK-SERVICES-MIB.txt
NOTIFICATION-LOG-MIB.txt
README.mibs
RFC-1215.txt
RFC1155-SMI.txt
RFC1213-MIB.txt
RMON-MIB.txt
SCTP-MIB.txt
SMUX-MIB.txt
SNMP-COMMUNITY-MIB.txt
SNMP-FRAMEWORK-MIB.txt
SNMP-MPD-MIB.txt
SNMP-NOTIFICATION-MIB.txt
SNMP-PROXY-MIB.txt
SNMP-TARGET-MIB.txt
SNMP-TLS-TM-MIB.txt
SNMP-TSM-MIB.txt
SNMP-USER-BASED-SM-MIB.txt
SNMP-USM-AES-MIB.txt
SNMP-USM-DH-OBJECTS-MIB.txt
SNMP-VIEW-BASED-ACM-MIB.txt
SNMPv2-CONF.txt
SNMPv2-MIB.txt
SNMPv2-SMI.txt
SNMPv2-TC.txt
SNMPv2-TM.txt
TCP-MIB.txt
TRANSPORT-ADDRESS-MIB.txt
TUNNEL-MIB.txt
UCD-DEMO-MIB.inc
UCD-DEMO-MIB.txt
UCD-DISKIO-MIB.inc
UCD-DISKIO-MIB.txt
UCD-DLMOD-MIB.inc
UCD-DLMOD-MIB.txt
UCD-IPFILTER-MIB.inc
UCD-IPFILTER-MIB.txt
UCD-IPFWACC-MIB.inc
UCD-IPFWACC-MIB.txt
UCD-SNMP-MIB-OLD.txt
UCD-SNMP-MIB.inc
UCD-SNMP-MIB.txt
UDP-MIB.txt
ianalist
makehtml.pl
mibfetch
nodemap
rfclist
rfcmibs.diff
smistrip

README.mibs

About the MIBS distributed with Net-SNMP.

This directory contains a very basic set of MIB files, ready for use.
In addition, there are some scripts and table files to help you get a
fuller collection of MIB files.

smistrip - a script that can extract a MIB file from an RFC (or I-D)
mibfetch - a script that will fetch an RFC file from a mirror, and extract
	the hosted MIB from it. It assumes that you have wget installed.
rfclist - a list of RFC numbers and corresponding MIB name(s)
ianalist - a list of files at the IANA server that holds IANA maintained
	MIBs
Makefile.mib - rules for extracting current MIB files from RFC and IANA
	files.
rfcmibs.diff - a set of required patches for MIB files extracted from RFCs

The file Makefile.mib holds rules that fetch and extract MIB files from
their hosting RFCs. Make will use wget to retrieve the RFC files, and,
as I am located in Denmark, use the RFC mirror at NORDUnet. You may change
that at the top of Makefile.mib.

Makefile.mib also holds rules that will collect all the current IETF MIB
definitions, using the lists in rfclist and ianalist. To get them all,
use
	make -f Makefile.mib allmibs

Note, that there are a few fatal syntactic errors in some of the RFC
definitions. To make them all parse successfully with the Net-SNMP parser,
you should apply the patches in the file rfcmibs.diff. These patches are
typical for the problems that are commonly seen with MIB files from various
sources:

- forgetting to import enterprises/mib-2/transmission from SNMPv2-SMI
- thinking that a -- comment ends at end-of-line, not at the next --
- using _ in identifiers. A - may be used in its place
- various misspellings

There is a short-cut rule
	make -f Makefile.mib rfc
that will also apply the patches. Note that Makefile.mib and smistrip has
configurable versions of awk and patch. If you are running Solaris you
must set these to nawk and gpatch respectively.

DISCLAIMER: The patches provided here for the IETF standard MIB files
are not endorsed by anyone, and I don't guarantee that they bring them
accordance with what the authors intended. All I will promise, is that
the MIB files can be parsed.
You can’t perform that action at this time.