mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
check-health: add encoded degree sign
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user