Description: check for lmsensors 'FAULT' status as well as 'ALARM' Author: Jonathan Wiltshire Last-Update: 2011-02-25 --- nagios-plugins-1.4.15.orig/plugins-scripts/check_sensors.sh +++ nagios-plugins-1.4.15/plugins-scripts/check_sensors.sh @@ -57,6 +57,9 @@ if echo ${sensordata} | egrep ALARM > /dev/null; then echo SENSOR CRITICAL - Sensor alarm detected! exit 2 + elif echo ${sensordata} | egrep FAULT > /dev/null; then + echo SENSOR CRITICAL - Sensor reported fault + exit 2 else echo sensor ok exit 0