mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
check-health: add symbol for voltage
This commit is contained in:
parent
efd0b0d274
commit
5d7d2e9ac6
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
|||
[ :typeof ($CheckHealthCurrent->$Voltage) ] = "num") do={
|
||||
:if ($CheckHealthLast->$Voltage * (100 + $CheckHealthVoltagePercent) < $CheckHealthCurrent->$Voltage * 100 || \
|
||||
$CheckHealthLast->$Voltage * 100 > $CheckHealthCurrent->$Voltage * (100 + $CheckHealthVoltagePercent)) do={
|
||||
$SendNotification ("Health warning: " . $Voltage) \
|
||||
$SendNotification ("Health warning: \E2\9A\A1 " . $Voltage) \
|
||||
("The " . $Voltage . " on " . $Identity . " jumped more than " . $CheckHealthVoltagePercent . "%.\n\n" . \
|
||||
"old value: " . [ $FormatVoltage ($CheckHealthLast->$Voltage) ] . "\n" . \
|
||||
"new value: " . [ $FormatVoltage ($CheckHealthCurrent->$Voltage) ]);
|
||||
|
|
Loading…
Reference in a new issue