Page 1 of 1

Setting Up SNMP Traps

Posted: Fri Sep 12, 2014 1:10 pm
by toleolu
I've been working on setting up monitoring of our Liebert server room UPS. I've been using a plugin that I downloaded from Nagios that monitors temp., battery time remaining, and time on battery, but what I really need is something to alert us when the AC power goes out, either a loss of AC or the batteries have kicked in.

I spoke with Liebert support and they got me set up with configuring the interface for SNMP traps with the Nagios server, but now I need to come up with an MIB for Nagios. I have no idea what that is.

While I'm looking into this online, if anyone has any documentation that would be helpful with this, that would be great.

Mahalo

Re: Setting Up SNMP Traps

Posted: Fri Sep 12, 2014 1:31 pm
by toleolu
OK it looks like I got the SNMP trap set up on one of the UPS's.
Capture.JPG
But I'm not sure what it's doing. I guess in my mind, there should be something on the UPS that sends something to Nagios when the AC goes out, or it goes on batteries, that Nagios uses to generate email alerts.

I'm guessing it has something to do with OID, but I have no idea what all those numbers mean.

Re: Setting Up SNMP Traps

Posted: Fri Sep 12, 2014 2:10 pm
by sreinhardt
You are correct, snmptraps are asynchronous messages from the device or server to nagios or another collector. Have you followed the XI and snmptrap integration document? Also generally you will get a mib from the vendor, as they know what oids their device should be sending, this is not something you or I could really create as we don't know what it will send or how to prod out all of those traps.