aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-11-12 16:46:04 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-11-12 16:46:04 +0100
commit149f7f4bd8d3b92023d0be6888bf20cab5ca39c7 (patch)
tree5f388018124e16b9ca2fd603facea85eff49893b
parent71a8ebb4cf9ce95a059ad3a26b9811294887ec28 (diff)
downloadmonitoring_custom-149f7f4bd8d3b92023d0be6888bf20cab5ca39c7.tar.gz
check_sensors
-rwxr-xr-xcheck_sensors2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_sensors b/check_sensors
index 300e40c..8cb1e20 100755
--- a/check_sensors
+++ b/check_sensors
@@ -13,7 +13,7 @@ LEVEL=0
DATA=( $(sensors | \
grep "^Core" | \
- sed -n "s|^Core\s[0-9]\+:\s\++\([0-9]\+\.[0-9]\+\)°C.*$|\1|p" ) )
+ sed -n "s|^Core\s[0-9]\+:\s\++\([0-9]\+\.[0-9]\+\).*$|\1|p" ) )
for (( i=0; i<${#DATA[@]}; i++ )); do
(( $(echo "${DATA[$i]} > $WARN" | bc -l ) )) && IS_WARN="true"