Changed the Performace Data Field
This commit is contained in:
parent
52670df1be
commit
2286e23d19
4
HISTORY
4
HISTORY
@ -23,3 +23,7 @@ Version 0.94:
|
|||||||
In 0.94 I removed /etc from the whereis path as it didn't work for me
|
In 0.94 I removed /etc from the whereis path as it didn't work for me
|
||||||
on my setup. It found the config-file for lm-sensors and tried to run
|
on my setup. It found the config-file for lm-sensors and tried to run
|
||||||
it.
|
it.
|
||||||
|
|
||||||
|
Version 0.95:
|
||||||
|
Changed the Performance Data Field to only contain a label and the
|
||||||
|
actual value in celsius. For example "temperature=39".
|
||||||
|
@ -228,7 +228,7 @@ ${SENSORPROG}
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Get performance data for Nagios "Performance Data" field
|
# Get performance data for Nagios "Performance Data" field
|
||||||
PERFDATA=`${SENSORPROG} | grep "$sensor" | head -n1`
|
PERFDATA="temperature=$TEMP"
|
||||||
|
|
||||||
|
|
||||||
# And finally check the temperature against our thresholds
|
# And finally check the temperature against our thresholds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user