diff --git a/homelab-ai-bot/core/wordpress_client.py b/homelab-ai-bot/core/wordpress_client.py index d29240c4..3fc582a5 100644 --- a/homelab-ai-bot/core/wordpress_client.py +++ b/homelab-ai-bot/core/wordpress_client.py @@ -63,7 +63,7 @@ def check_connectivity() -> bool: try: if not WP_URL or not WP_PASSWORD: return False - resp = requests.get(f"{WP_URL}/wp-cron.php", timeout=8, allow_redirects=False) + resp = requests.get(f"{WP_URL}/robots.txt", timeout=8, allow_redirects=False) return resp.status_code < 400 except Exception: return False diff --git a/homelab-ai-bot/monitor.py b/homelab-ai-bot/monitor.py index 3947de27..4d1c2e0d 100644 --- a/homelab-ai-bot/monitor.py +++ b/homelab-ai-bot/monitor.py @@ -41,7 +41,7 @@ CRITICAL_CONTAINERS = [101, 109, 111, 112, 113, 115] HTTP_HEALTH_CHECKS = [ # LAN-IPs direkt prüfen — kein Cloudflare-Umweg, keine Tailscale-Routing-Probleme - {"name": "WordPress (CT 101)", "url": "http://10.10.10.101/wp-cron.php"}, + {"name": "WordPress (CT 101)", "url": "http://10.10.10.101/robots.txt"}, {"name": "Matomo (CT 113)", "url": "http://10.10.10.113"}, {"name": "Grafana (CT 110)", "url": "http://10.10.10.110:3000"}, ]