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
Environmental Monitoring
Re: Environmental Monitoring
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.
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
Could also go for regular SNMP reads like with most routers/switches.
Former Nagios employee
Re: Environmental Monitoring
Thanks, I'll take a look!
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Environmental Monitoring
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.
Re: Environmental Monitoring
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
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
Re: Environmental Monitoring
akepley, did rseiwert answer your question?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Environmental Monitoring
Sorry, Yes we can close this. Thank you!