snmp and MIBs


Hi Guys,
Probably a dumb question, but where can i get the MIBs (and dependencies) to effectively monitor cumulus switches?
Are they on the website?

Thanks
Douglas


2 replies

Userlevel 1
Douglas,

Sorry for the late reply. The holidays were just too relaxing. : )

A set of MIBs are included with each Cumulus Linux image. The MIBs are in the directory:

/usr/share/snmp/mibs/

You can use snmptranslate or some similar tool to read through the MIB.

Here's a list of the MIBs on Cumulus Linux 3.1.2:

cumulus@leaf01:/usr/share/snmp/mibs$ ls -al total 2144 drwxr-xr-x 1 root root   3100 Nov  1 21:16 . drwxr-xr-x 1 root root    464 Nov  1 21:16 .. -rw-r--r-- 1 root root  17455 Aug 18 00:00 AGENTX-MIB.txt -rw-r--r-- 1 root root  50948 Aug 18 00:00 BRIDGE-MIB.txt -rw-r--r-- 1 root root   7459 Aug 16 00:08 Cumulus-Counters-MIB.txt -rw-r--r-- 1 root root  10266 Aug 16 00:08 Cumulus-POE-MIB.txt -rw-r--r-- 1 root root  11763 Aug 16 00:08 Cumulus-Resource-Query-MIB.txt -rw-r--r-- 1 root root   1149 Aug 16 00:08 Cumulus-Snmp-MIB.txt -rw-r--r-- 1 root root  68104 Aug 18 00:00 DISMAN-EVENT-MIB.txt -rw-r--r-- 1 root root  42665 Aug 18 00:00 DISMAN-EXPRESSION-MIB.txt -rw-r--r-- 1 root root  18527 Aug 18 00:00 DISMAN-NSLOOKUP-MIB.txt -rw-r--r-- 1 root root  57310 Aug 18 00:00 DISMAN-PING-MIB.txt -rw-r--r-- 1 root root  24613 Aug 18 00:00 DISMAN-SCHEDULE-MIB.txt -rw-r--r-- 1 root root  64311 Aug 18 00:00 DISMAN-SCRIPT-MIB.txt -rw-r--r-- 1 root root  69516 Aug 18 00:00 DISMAN-TRACEROUTE-MIB.txt -rw-r--r-- 1 root root  84492 Aug 18 00:00 EtherLike-MIB.txt -rw-r--r-- 1 root root   1984 Sep 13 21:22 GNOME-PRODUCT-ZEBRA-MIB -rw-r--r-- 1 root root   1913 Aug 18 00:00 GNOME-SMI.txt -rw-r--r-- 1 root root   4660 Aug 18 00:00 HCNUM-TC.txt -rw-r--r-- 1 root root  52544 Aug 18 00:00 HOST-RESOURCES-MIB.txt -rw-r--r-- 1 root root  10583 Aug 18 00:00 HOST-RESOURCES-TYPES.txt -rw-r--r-- 1 root root   6713 Aug 18 00:00 IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt -rw-r--r-- 1 root root  34428 Aug 18 00:00 IANAifType-MIB.txt -rw-r--r-- 1 root root   4387 Aug 18 00:00 IANA-LANGUAGE-MIB.txt -rw-r--r-- 1 root root   4098 Aug 18 00:00 IANA-RTPROTO-MIB.txt -rw-r--r-- 1 root root   5066 Aug 18 00:00 IF-INVERTED-STACK-MIB.txt -rw-r--r-- 1 root root  71691 Aug 18 00:00 IF-MIB.txt -rw-r--r-- 1 root root  16782 Aug 18 00:00 INET-ADDRESS-MIB.txt -rw-r--r-- 1 root root  46286 Aug 18 00:00 IP-FORWARD-MIB.txt -rw-r--r-- 1 root root 185667 Aug 18 00:00 IP-MIB.txt -rw-r--r-- 1 root root   2028 Aug 18 00:00 IPV6-FLOW-LABEL-MIB.txt -rw-r--r-- 1 root root  15936 Aug 18 00:00 IPV6-ICMP-MIB.txt -rw-r--r-- 1 root root  48703 Aug 18 00:00 IPV6-MIB.txt -rw-r--r-- 1 root root   7257 Aug 18 00:00 IPV6-TCP-MIB.txt -rw-r--r-- 1 root root   2367 Aug 18 00:00 IPV6-TC.txt -rw-r--r-- 1 root root   4400 Aug 18 00:00 IPV6-UDP-MIB.txt -rw-r--r-- 1 root root   5931 Aug 18 00:00 LM-SENSORS-MIB.txt -rw-r--r-- 1 root root  42375 Aug 18 00:00 MTA-MIB.txt -rw-r--r-- 1 root root  15901 Aug 18 00:00 NET-SNMP-AGENT-MIB.txt -rw-r--r-- 1 root root   9160 Aug 18 00:00 NET-SNMP-EXAMPLES-MIB.txt -rw-r--r-- 1 root root   9326 Aug 18 00:00 NET-SNMP-EXTEND-MIB.txt -rw-r--r-- 1 root root   2036 Aug 18 00:00 NET-SNMP-MIB.txt -rw-r--r-- 1 root root   1215 Aug 18 00:00 NET-SNMP-MONITOR-MIB.txt -rw-r--r-- 1 root root   3730 Aug 18 00:00 NET-SNMP-PASS-MIB.txt -rw-r--r-- 1 root root   2504 Aug 18 00:00 NET-SNMP-PERIODIC-NOTIFY-MIB.txt -rw-r--r-- 1 root root   1226 Aug 18 00:00 NET-SNMP-SYSTEM-MIB.txt -rw-r--r-- 1 root root   4814 Aug 18 00:00 NET-SNMP-TC.txt -rw-r--r-- 1 root root   5039 Aug 18 00:00 NET-SNMP-VACM-MIB.txt -rw-r--r-- 1 root root  21006 Aug 18 00:00 NETWORK-SERVICES-MIB.txt -rw-r--r-- 1 root root  24694 Aug 18 00:00 NOTIFICATION-LOG-MIB.txt -rw-r--r-- 1 root root   3067 Aug 18 00:00 RFC1155-SMI.txt -rw-r--r-- 1 root root  79667 Aug 18 00:00 RFC1213-MIB.txt -rw-r--r-- 1 root root   1174 Aug 18 00:00 RFC-1215.txt -rw-r--r-- 1 root root 147822 Aug 18 00:00 RMON-MIB.txt -rw-r--r-- 1 root root  45323 Aug 18 00:00 SCTP-MIB.txt -rw-r--r-- 1 root root   4649 Aug 18 00:00 SMUX-MIB.txt -rw-r--r-- 1 root root  15490 Aug 18 00:00 SNMP-COMMUNITY-MIB.txt -rw-r--r-- 1 root root  22342 Aug 18 00:00 SNMP-FRAMEWORK-MIB.txt -rw-r--r-- 1 root root   5496 Aug 18 00:00 SNMP-MPD-MIB.txt -rw-r--r-- 1 root root  20014 Aug 18 00:00 SNMP-NOTIFICATION-MIB.txt -rw-r--r-- 1 root root   9106 Aug 18 00:00 SNMP-PROXY-MIB.txt -rw-r--r-- 1 root root  22769 Aug 18 00:00 SNMP-TARGET-MIB.txt -rw-r--r-- 1 root root  43927 Aug 18 00:00 SNMP-TLS-TM-MIB.txt -rw-r--r-- 1 root root   8912 Aug 18 00:00 SNMP-TSM-MIB.txt -rw-r--r-- 1 root root  39201 Aug 18 00:00 SNMP-USER-BASED-SM-MIB.txt -rw-r--r-- 1 root root   2205 Aug 18 00:00 SNMP-USM-AES-MIB.txt -rw-r--r-- 1 root root  21101 Aug 18 00:00 SNMP-USM-DH-OBJECTS-MIB.txt -rw-r--r-- 1 root root   8263 Aug 18 00:00 SNMPv2-CONF.txt -rw-r--r-- 1 root root  29305 Aug 18 00:00 SNMPv2-MIB.txt -rw-r--r-- 1 root root   8924 Aug 18 00:00 SNMPv2-SMI.txt -rw-r--r-- 1 root root  38034 Aug 18 00:00 SNMPv2-TC.txt -rw-r--r-- 1 root root   5775 Aug 18 00:00 SNMPv2-TM.txt -rw-r--r-- 1 root root  34162 Aug 18 00:00 SNMP-VIEW-BASED-ACM-MIB.txt -rw-r--r-- 1 root root  28564 Aug 18 00:00 TCP-MIB.txt -rw-r--r-- 1 root root  16418 Aug 18 00:00 TRANSPORT-ADDRESS-MIB.txt -rw-r--r-- 1 root root  27826 Aug 18 00:00 TUNNEL-MIB.txt -rw-r--r-- 1 root root   2163 Aug 18 00:00 UCD-DEMO-MIB.txt -rw-r--r-- 1 root root   4613 Aug 18 00:00 UCD-DISKIO-MIB.txt -rw-r--r-- 1 root root   3087 Aug 18 00:00 UCD-DLMOD-MIB.txt -rw-r--r-- 1 root root   6476 Aug 18 00:00 UCD-IPFILTER-MIB.txt -rw-r--r-- 1 root root   8118 Aug 18 00:00 UCD-IPFWACC-MIB.txt -rw-r--r-- 1 root root  18274 Aug 18 00:00 UCD-SNMP-MIB-OLD.txt -rw-r--r-- 1 root root  52820 Aug 18 00:00 UCD-SNMP-MIB.txt -rw-r--r-- 1 root root  20882 Aug 18 00:00 UDP-MIB.txt 

Regards,
Rama
Userlevel 2
Rama Darbha wrote:

Douglas,

Sorry for the late reply. The holidays were just too relaxing. : )

A set of MIBs are i...

That's correct. We provide the MIBs included in the base net-snmp debian package. Along with a few of our own enterprise MIBS.

Many more MIBs (~300) can be retrieved from the Debian repo in a package called snmp-mibs-downloader.

Reply