Page 1 of 1
Environmental Monitoring
Posted: Fri Sep 19, 2014 3:55 pm
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
Re: Environmental Monitoring
Posted: Fri Sep 19, 2014 4:06 pm
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.
Re: Environmental Monitoring
Posted: Fri Sep 19, 2014 4:18 pm
by akepley
Thanks, I'll take a look!
Re: Environmental Monitoring
Posted: Fri Sep 19, 2014 4:21 pm
by sreinhardt
Great! Let us know if you have questions as your setting up the nagios side.
Re: Environmental Monitoring
Posted: Fri Sep 19, 2014 4:35 pm
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);
?>
Re: Environmental Monitoring
Posted: Mon Sep 22, 2014 10:25 am
by lmiltchev
akepley, did rseiwert answer your question?
Re: Environmental Monitoring
Posted: Fri Oct 03, 2014 3:36 pm
by akepley
Sorry, Yes we can close this. Thank you!