diff --git a/homelab-ai-bot/monitor.py b/homelab-ai-bot/monitor.py index ba54140f4..50b97d738 100644 --- a/homelab-ai-bot/monitor.py +++ b/homelab-ai-bot/monitor.py @@ -46,7 +46,7 @@ HTTP_HEALTH_CHECKS = [ {"name": "Matomo (CT 113)", "url": "http://10.10.10.113"}, {"name": "Grafana (CT 110)", "url": "http://10.10.10.110:3000/api/health"}, {"name": "Flugscanner-Agent (pve-pp-1)", "url": "http://100.126.26.46:5010/status", - "retries": 5, "timeout": 25, "retry_delay": 6}, + "retries": 5, "timeout": 25, "retry_delay": 6, "host": "pve-pp-1"}, ] EXPECTED_STOPPED = { @@ -163,6 +163,8 @@ def check_all() -> list[str]: _headers = {"User-Agent": "Mozilla/5.0 (Hausmeister-Bot/1.0 health-check)"} for check in HTTP_HEALTH_CHECKS: + if _is_host_suppressed(check.get("host", ""), suppressed_hosts): + continue timeout = check.get("timeout", 15) retries = check.get("retries", 1) retry_delay = check.get("retry_delay", 3) diff --git a/homelab.conf b/homelab.conf index bed7c0b01..01665a87b 100644 --- a/homelab.conf +++ b/homelab.conf @@ -196,8 +196,11 @@ VM_144_MU3="BT-Bridge|—|BT Bridge VM" # - pve-ka-1/2/3: Kambodscha ohne funktionierendes Internet, seit # 2026-04-04 offline, temporär stumm geschaltet am 2026-04-21. # Wieder reinnehmen, sobald Internet in Takeo wieder läuft. +# - pve-pp-1/2 (Phnom Penh, Kondo-Cluster): Hardware/Netz zu instabil, nicht +# betriebskritisch. Stumm seit 2026-04-24 auf User-Wunsch. Reaktivieren, +# sobald Infrastruktur stabilisiert oder Rolle geklaert. # ============================================================ -ALERT_SUPPRESS_HOSTS="pve-ka-1,pve-ka-2,pve-ka-3" +ALERT_SUPPRESS_HOSTS="pve-ka-1,pve-ka-2,pve-ka-3,pve-pp-1,pve-pp-2" # --- TELEGRAM BOTS --- TG_CHAT_ID="674951792"