aboutsummaryrefslogtreecommitdiffstats
path: root/check-health
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-07-15 21:01:15 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-07-15 21:01:15 +0200
commit5d7d2e9ac696cb6659aefb912406f9bc8d3673b3 (patch)
tree68a592276d0c50c92add3b580c4dd47c20eb5bc3 /check-health
parentefd0b0d2742d1ee0ee8d8ef8362b6b12a81542ea (diff)
check-health: add symbol for voltage
Diffstat (limited to 'check-health')
-rw-r--r--check-health2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-health b/check-health
index 7b7a0b1..7192b46 100644
--- a/check-health
+++ b/check-health
@@ -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) ]);