From 3b11674d736c6a73c5a29605f24477174a5a88a2 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 16 Mar 2026 08:34:19 +0700 Subject: [PATCH] =?UTF-8?q?Memory-Expiry=20Alert:=20Cooldown=201h=E2=86=92?= =?UTF-8?q?12h,=20eigene=20Kategorie=20memory=5Fexpiry?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- homelab-ai-bot/monitor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homelab-ai-bot/monitor.py b/homelab-ai-bot/monitor.py index 2d898643..3585aac8 100644 --- a/homelab-ai-bot/monitor.py +++ b/homelab-ai-bot/monitor.py @@ -18,6 +18,7 @@ ALERT_COOLDOWN_SECONDS = { "silence": 3600, "http": 1800, "restart": 900, + "memory_expiry": 43200, "default": 3600, } @@ -262,6 +263,8 @@ def _alert_category(alert_text: str) -> str: return "http" if "Service-Neustart" in alert_text: return "restart" + if "Memory läuft ab" in alert_text: + return "memory_expiry" return "default"