check-health: add encoded degree sign

This commit is contained in:
Christian Hesse 2020-03-09 16:23:10 +01:00
parent 1f8c22b23d
commit 63ed093340

View file

@ -58,13 +58,13 @@
$CheckHealthCurrent->$Temperature > $CheckHealthTemperature->$Temperature) do={ $CheckHealthCurrent->$Temperature > $CheckHealthTemperature->$Temperature) do={
$SendNotification ("Health warning: " . $Temperature) \ $SendNotification ("Health warning: " . $Temperature) \
("The " . $Temperature . " on " . $Identity . " is above threshold: " . \ ("The " . $Temperature . " on " . $Identity . " is above threshold: " . \
$CheckHealthCurrent->$Temperature . "C"); $CheckHealthCurrent->$Temperature . "\C2\B0" . "C");
} }
:if ($CheckHealthLast->$Temperature > $CheckHealthTemperature->$Temperature && \ :if ($CheckHealthLast->$Temperature > $CheckHealthTemperature->$Temperature && \
$CheckHealthCurrent->$Temperature <= $CheckHealthTemperature->$Temperature) do={ $CheckHealthCurrent->$Temperature <= $CheckHealthTemperature->$Temperature) do={
$SendNotification ("Health recovery: " . $Temperature) \ $SendNotification ("Health recovery: " . $Temperature) \
("The " . $Temperature . " on " . $Identity . " dropped below threshold: " . \ ("The " . $Temperature . " on " . $Identity . " dropped below threshold: " . \
$CheckHealthCurrent->$Temperature . "C"); $CheckHealthCurrent->$Temperature . "\C2\B0" . "C");
} }
} }
} }