From 19123951356a3987c0c497ef179d0a4d06b3e91c Mon Sep 17 00:00:00 2001 From: kikniknik Date: Tue, 28 May 2019 02:24:23 +0300 Subject: [PATCH] Enrich performance data output --- check_temp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_temp.sh b/check_temp.sh index 0379a16..ac56dd5 100755 --- a/check_temp.sh +++ b/check_temp.sh @@ -229,7 +229,7 @@ ${SENSORPROG} fi # Get performance data for Nagios "Performance Data" field -PERFDATA="temperature=$TEMP" +PERFDATA="$sensor=$TEMP;$thresh_warn;$thresh_crit" # And finally check the temperature against our thresholds