mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-06 18:09:28 +00:00
early-errors: also include critical messages
This commit is contained in:
parent
940c1e9381
commit
7c288c6203
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
:global SendNotification;
|
||||
|
||||
:local Errors [ / log find where topics~"error" ];
|
||||
:local Errors [ / log find where topics~"error" or topics~"critical" ];
|
||||
:local ErrCount [ :len $Errors ];
|
||||
:if ($ErrCount > 0) do={
|
||||
:local Message ("The log on " . $Identity . " contains " . $ErrCount . \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue