mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-29 23:34:28 +02:00
early-errors: exclude certificate messages
This is most likely SCEP requests before network is up...
This commit is contained in:
parent
8dadde23f3
commit
e1b45f13f5
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@
|
||||||
|
|
||||||
$WaitFullyConnected;
|
$WaitFullyConnected;
|
||||||
|
|
||||||
:local Errors [ / log find where (topics~"error" or topics~"critical") !(topics~"e-mail") !(topics~"dns") ];
|
:local Errors [ / log find where (topics~"error" or topics~"critical") \
|
||||||
|
!(topics~"certificate") !(topics~"dns") !(topics~"e-mail") ];
|
||||||
: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