mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
check-health: decrease log severity to info
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
:if ($Name ~ "temperature" && \
|
||||
[ :typeof $Temperature ] = "num") do={
|
||||
:if ([ :typeof ($CheckHealthTemperature->$Name) ] != "num" ) do={
|
||||
$LogPrintExit warning ("No threshold given for " . $Name . ", assuming 50C.") false;
|
||||
$LogPrintExit info ("No threshold given for " . $Name . ", assuming 50C.") false;
|
||||
:set ($CheckHealthTemperature->$Name) 50;
|
||||
}
|
||||
:if ($Temperature > $CheckHealthTemperature->$Name && \
|
||||
|
Reference in New Issue
Block a user