mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-09 17:44:29 +02:00
check-health: add encoded degree sign
This commit is contained in:
parent
1f8c22b23d
commit
63ed093340
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue