Environmental Monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
akepley
Posts: 138
Joined: Wed Sep 11, 2013 1:09 pm

Environmental Monitoring

Post by akepley »

My company has just purchased a Liebert Emerson VEM-14 environmental sensor monitoring device (http://www.emersonnetworkpower.com/docu ... -28210.pdf) for a new rack. They are asking if Nagios can monitor this device. I'm not seeing any plugins or wizards concerning that particular type of device. Not sure if you have any advice on any alternatives for getting Nagios to monitor this type of device.

I'm running Nagios XI 2014R1.4
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Environmental Monitoring

Post by tmcdonald »

Page 29 of that doc goes over SNMP Traps, which are how many devices like that one operate. We have a doc of our own on setting them up:

http://assets.nagios.com/downloads/nagi ... ios_XI.pdf

Could also go for regular SNMP reads like with most routers/switches.
Former Nagios employee
akepley
Posts: 138
Joined: Wed Sep 11, 2013 1:09 pm

Re: Environmental Monitoring

Post by akepley »

Thanks, I'll take a look!
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Environmental Monitoring

Post by sreinhardt »

Great! Let us know if you have questions as your setting up the nagios side.
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.
User avatar
rseiwert
Posts: 196
Joined: Wed Jun 22, 2011 10:33 pm
Location: Somewhere between Here and Now

Re: Environmental Monitoring

Post by rseiwert »

SNMP is the answer but SNMP traps are not. Traps are OK but they only show the worst thing that happened. I have mine set to clear automatically after an hour but that doesn't mean the condition is cleared. What I've been doing for a long time is polling SNMP using SNMPGET in a shell script. This can alert on any defined condition but will also clear the alert when the condition is cleared. Also the "performance" data could be captured which could give you trends for temperature and if you have the PDU model you can also monitor voltage and amps. I've used bash in the past to do this but PHP works as well.

Overly Simplified Code

Code: Select all

#!/usr/bin/php
<?php
$oid=".1.3.6.1.4.1.318.1.1.1.3.2.1.0"; /*what ever you are trying to monitor (this one is from APC) */
$host = $argv[1]; /* Host is 1st argument for script */
$t = @snmpget("$host", "public", $oid, 1000000); /* assumes public community not best practice */
echo "Current T is $t | T=$t\n";
/* tests could be coded to return alerts here, as is always OK but collect perfdata */
exit(0);
?>
Grumpy Olde IT Guy
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Environmental Monitoring

Post by lmiltchev »

akepley, did rseiwert answer your question?
Be sure to check out our Knowledgebase for helpful articles and solutions!
akepley
Posts: 138
Joined: Wed Sep 11, 2013 1:09 pm

Re: Environmental Monitoring

Post by akepley »

Sorry, Yes we can close this. Thank you!
Locked