mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
early-errors: ... and exclude dns messages
Using DoH (DNS over HTTPS) results in a number of error messages before network becomes available: dns;error DoH server connection error: Network is unreachable Exclude these.
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
|
||||
:global SendNotification;
|
||||
|
||||
:local Errors [ / log find where (topics~"error" or topics~"critical") !(topics~"e-mail") ];
|
||||
:local Errors [ / log find where (topics~"error" or topics~"critical") !(topics~"e-mail") !(topics~"dns") ];
|
||||
:local ErrCount [ :len $Errors ];
|
||||
:if ($ErrCount > 0) do={
|
||||
:local Message ("The log on " . $Identity . " contains " . $ErrCount . \
|
||||
|
Reference in New Issue
Block a user