aboutsummaryrefslogtreecommitdiff
path: root/check_sensors
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-11-12 15:40:38 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-11-12 15:40:38 +0100
commit56d4b868f96001d2022c01ca74a84b158c761cfe (patch)
tree74cd9feb39fd067fbd63aa054672300b7b956556 /check_sensors
parent0d3fda6ac7623a31bd90bd79ec36cc3fb8514aee (diff)
downloadmonitoring_custom-56d4b868f96001d2022c01ca74a84b158c761cfe.tar.gz
check_sensors
Diffstat (limited to 'check_sensors')
-rwxr-xr-xcheck_sensors2
1 files changed, 0 insertions, 2 deletions
diff --git a/check_sensors b/check_sensors
index f0b3650..c4b0e76 100755
--- a/check_sensors
+++ b/check_sensors
@@ -21,8 +21,6 @@ for (( i=0; i<${#DATA[@]}; i++ )); do
PERFDATA+="core_$i=${DATA[$i]},"
done
-echo $IS_CRIT $IS_WARN
-
[ $IS_WARN = true ] && LEVEL=1
[ $IS_CRIT = true ] && LEVEL=2
[ ${#DATA[@]} -eq 0 ] && LEVEL=3