mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-12 11:04:32 +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={
|
||||
$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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue