If you use CentOS with some SNMP NMS (such as Zenoss), chances are you want to monitor some specific hardware that:

  1. Is not supported out-of-the-box from your NMS.
  2. It is supported by your hardware manufacturer.

The process of adding a new MIB is very easy.

You'd have to check first if the manufacturer supports SNMP, then see if it publishes and releases (usually through their site), the specific functions supported by their hardware (i.e.: an UPS with specific snmp features like APC would have some specific features regarding Power usage, etc.).

  • Go to your product manufacturer and download the product's MIB.
  • Rename the mib to MIB-NAME.txt
  • Copy the MIB inside /usr/share/snmp/mibs/
  • Edit /usr/share/snmp/snmp.conf
  • Input the following statement:

mibfile /usr/share/snmp/mibs/PowerNet-MIB.txt

add snmp mibs to CentOS.
4.5 (90%) 2 votes
Senior Professional Network and Computer Systems Engineer during work hours and father when home. Andrea strives to deliver outstanding customer service and heaps of love towards his family. In this Ad-sponsored space, Andrea shares his quest for "ultimate" IT knowledge, meticulously brought to you in an easy to read format.

3 comments on “add snmp mibs to CentOS.

Comments are closed.