A Management Information Base (MIB) file contains information used to manage entities in a network. This information is accessed by a protocol such as Simple Network Management Protocol (SNMP).
Every managed device and SNMP equipment vendor in the network maintains values in the MIB. Object Identifiers (OIDs) uniquely identify each entity in the MIB hierarchy, which is typically depicted in a tree structure. Each branch of the tree has a number and a name, and the complete path from the top of the tree to the entity forms the name of that entity.
For example, the Enterprise MIB for OmniTI assigned by the Internet Assigned Numbers Authority is
22.214.171.124.4.1.19552. This is further subdivided by products. For example, Momentum (Ecelerity) has the MIB
Within Momentum (ecelerity),
126.96.36.199.4.1.19552.1.1 is defined as product information with further subdivisions as shown below:
188.8.131.52.4.1.195184.108.40.206– string, Product Name (Ecelerity)
220.127.116.11.4.1.19518.104.22.168– string, version (_EC_VER)
22.214.171.124.4.1.195126.96.36.199– string, build date (DATE)
The per-domain metrics exposed via Momentum’s OCC-MIB do not support the SNMP GETNEXT operation, which means that you can’t walk domain statistics with programs such as snmpwalk. Therefore, to get per-domain statistics via SNMP, you must know in advance what domain to query. This is fine for monitoring known domains, but you can’t use SNMP to get a snapshot of the mail queues.
For your convenience, the
OMNITI-SNMP-MIB.txt file found in the
/opt/msys/ecelerity/docs/ directory is reproduced in this appendix.
The per-domain MIB is defined as:
A.B.C indicates the domain name, and
L represents the length of that domain. For example,
aol.com would be represented as:
188.8.131.52.184.108.40.206 7 a o l . c o m
In this case
7 indicates the length of ‘aol.com’. The length and the binding identifier replace
L.A.B.C in the MIB.
G corresponds to the MTAGroupIndexID (see RFC 2789, MTA MIB).
S represents the metric type. We define the following metrics:
0: domain name
4: transient failures
5: outbound connections
6: active queue size
7: delayed queue size
For more information about Mail Monitoring MIBs, see RFC2789.
aol.com domain name would have the following entry on the default binding: 220.127.116.11.4.1.19518.104.22.168.22.214.171.124.126.96.36.199.1: string ‘aol.com’.
The MTAGroupIndexID can be determined by using snmpwalk and subtracting 1 from last number of the desired binding. You can also use snmpwalk to get the MTAGroupIndexID in order to determine per-domain stats.
shell> /opt/msys/3rdParty/bin/snmpwalk -v1 -c public 10.79.20.132:8162 188.8.131.52.4.1.19552.1.3 SNMPv2-Example::enterprises.195184.108.40.206.1 = Counter32: 0 SNMPv2-Example::enterprises.195220.127.116.11.2 = Counter32: 0 SNMPv2-Example::enterprises.19518.104.22.168.3 = Counter32: 0 SNMPv2-Example::enterprises.19522.214.171.124.4 = Counter32: 0 SNMPv2-Example::enterprises.195126.96.36.199.1 = Counter32: 0 SNMPv2-Example::enterprises.195188.8.131.52.2 = Counter32: 0 SNMPv2-Example::enterprises.195184.108.40.206.3 = Counter32: 0 SNMPv2-Example::enterprises.195220.127.116.11.4 = Counter32: 0 SNMPv2-Example::enterprises.19518.104.22.168.1 = Counter32: 0 SNMPv2-Example::enterprises.19522.214.171.124.2 = Counter32: 0 SNMPv2-Example::enterprises.195126.96.36.199.3 = Counter32: 0 SNMPv2-Example::enterprises.195188.8.131.52.4 = Counter32: 0 SNMPv2-Example::enterprises.195184.108.40.206.1 = STRING: "none/all" SNMPv2-Example::enterprises.195220.127.116.11.2 = STRING: "none/default" SNMPv2-Example::enterprises.19518.104.22.168.3 = STRING: "none/cdp" SNMPv2-Example::enterprises.19522.214.171.124.4 = STRING: "none/example"
In the output above,
example are binding names. The MTAGroupIndexID of
2 is one less than the last number in