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"