mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-10 18:14:27 +02: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:
parent
fee2c4d4ad
commit
1bce625ca9
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
:global SendNotification;
|
: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 ];
|
:local ErrCount [ :len $Errors ];
|
||||||
:if ($ErrCount > 0) do={
|
:if ($ErrCount > 0) do={
|
||||||
:local Message ("The log on " . $Identity . " contains " . $ErrCount . \
|
:local Message ("The log on " . $Identity . " contains " . $ErrCount . \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue