Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_sensors
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
The official check_sensors plugin didn't report any info other than a regexp 'ALARM' from lm_sensors. I rewrote the plugin to send data and incorporated nagios-grapher to work with it.
This version reports cpu, motherboard and hard drive temperatures, fan speeds and voltages (in separate instances). Warning and critical level setting only affects cpu temperature and all fans.
By default this plugin should work like the earlier version, the switches modify the operation mode. See --help for more information.
This version reports cpu, motherboard and hard drive temperatures, fan speeds and voltages (in separate instances). Warning and critical level setting only affects cpu temperature and all fans.
By default this plugin should work like the earlier version, the switches modify the operation mode. See --help for more information.
Reviews (1)
byShabo, January 28, 2014
This works well, but perfdata would be nice when debugging possible overheating problems.
My current hack:
PERFDATA=$(echo "$sensordata" | grep "°C"| sed -r 's/:[ ]+[+]?([0-9.]+)°C.*$/=\1/;s/ /_/g;' | sed 's/./\L&/g' | tr "\n" ', ' | sed "s/,/, /g;s/, *$/\n/")
echo "sensor ok $PERFDATA | $PERFDATA"
exit $STATE_OK
My current hack:
PERFDATA=$(echo "$sensordata" | grep "°C"| sed -r 's/:[ ]+[+]?([0-9.]+)°C.*$/=\1/;s/ /_/g;' | sed 's/./\L&/g' | tr "\n" ', ' | sed "s/,/, /g;s/, *$/\n/")
echo "sensor ok $PERFDATA | $PERFDATA"
exit $STATE_OK