From e1b45f13f5f415a0422d88921b07e2f667d6f396 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 6 Jul 2020 16:04:08 +0200 Subject: early-errors: exclude certificate messages This is most likely SCEP requests before network is up... --- early-errors | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/early-errors b/early-errors index 015767a..a2c5da3 100644 --- a/early-errors +++ b/early-errors @@ -13,7 +13,8 @@ $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 ]; :if ($ErrCount > 0) do={ :local Message ("The log on " . $Identity . " contains " . $ErrCount . \ -- cgit v1.2.3-70-g09d2