Adding MIBs to net-snmp

Tuesday, September 22 2009 @ 03:56 PM BST

Contributed by: robin

In a previous article I showed where to find SNMP MIBs for a Fortinet Fortigate firewall device. Here's how to add a new MIB to net-snmp so the toolset can use it.

FIrst, download the MIB files and copy them to /usr/share/snmp/mibs

Look at the top of the file for a line like: YOUR-MIB-NAME DEFINITIONS ::= BEGIN

"YOUR-MIB-NAME" is the name of the MIB.

Edit /etc/snmp/snmp.conf (or /etc/snmp/snmp.local.conf) and add the line:

mibs +YOUR-MIB-NAME

Full details on the net-snmp site:

http://www.net-snmp.org/wiki/index.php/TUT:Using_and_loading_MIBS

Comments (0)


robinbowes.com
http://robinbowes.com/article.php/20090922155618567