aboutsummaryrefslogtreecommitdiffstats
path: root/check-health
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-03-09 16:23:10 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-03-09 16:23:10 +0100
commit63ed093340df70c79ecec21396d136a03d869eca (patch)
tree2a2f58b94284b70eefa30b595fa22cd3891024eb /check-health
parent1f8c22b23de1704c6f83f24174daf67167ad53e6 (diff)
check-health: add encoded degree sign
Diffstat (limited to 'check-health')
-rw-r--r--check-health4
1 files changed, 2 insertions, 2 deletions
diff --git a/check-health b/check-health
index 07ec366..b693410 100644
--- a/check-health
+++ b/check-health
@@ -58,13 +58,13 @@
$CheckHealthCurrent->$Temperature > $CheckHealthTemperature->$Temperature) do={
$SendNotification ("Health warning: " . $Temperature) \
("The " . $Temperature . " on " . $Identity . " is above threshold: " . \
- $CheckHealthCurrent->$Temperature . "C");
+ $CheckHealthCurrent->$Temperature . "\C2\B0" . "C");
}
:if ($CheckHealthLast->$Temperature > $CheckHealthTemperature->$Temperature && \
$CheckHealthCurrent->$Temperature <= $CheckHealthTemperature->$Temperature) do={
$SendNotification ("Health recovery: " . $Temperature) \
("The " . $Temperature . " on " . $Identity . " dropped below threshold: " . \
- $CheckHealthCurrent->$Temperature . "C");
+ $CheckHealthCurrent->$Temperature . "\C2\B0" . "C");
}
}
}