From 9c1d598f6481268cc4e7da2510ae92e72b4135a3 Mon Sep 17 00:00:00 2001 From: "Daniele Verducci (Slimpenguin)" Date: Fri, 20 May 2022 09:05:55 +0200 Subject: [PATCH] Fixed security updates check --- healthcheck/healthcheck.cfg.example | 1 + 1 file changed, 1 insertion(+) diff --git a/healthcheck/healthcheck.cfg.example b/healthcheck/healthcheck.cfg.example index 0556442..525c234 100644 --- a/healthcheck/healthcheck.cfg.example +++ b/healthcheck/healthcheck.cfg.example @@ -215,4 +215,5 @@ COMMAND=echo "Core meltdown!" # 1 1 * * * root apt update DISABLED=True ALARM_STRING_EQUAL=security updates available +REGEXP=.*\n(security updates available) COMMAND=apt list --upgradable 2>/dev/null | grep -e "-security" && echo "security updates available" || echo "NO security updates available"