Setting Up SNMP Traps

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Setting Up SNMP Traps

Post 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
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Setting Up SNMP Traps

Post 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.
You do not have the required permissions to view the files attached to this post.
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Setting Up SNMP Traps

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked