monitoring: optimize alerts and mitigate fritzbox-exporter timeouts

This commit is contained in:
Moritz Graf
2026-07-11 07:40:06 +02:00
parent c5458821a7
commit bdabc56afe
10 changed files with 269 additions and 14 deletions
+3 -3
View File
@@ -47,7 +47,7 @@ spec:
rules:
- alert: WireguardExporterDown
expr: up{job="wireguard-exporter"} == 0
for: 5m
for: 1h
labels:
severity: critical
annotations:
@@ -55,7 +55,7 @@ spec:
description: "The WireGuard Prometheus exporter is unreachable. The pod may have crashed or is unresponsive."
- alert: WireguardInterfaceDown
expr: absent(wireguard_sent_bytes_total{interface="wg0"}) == 1
for: 5m
for: 1h
labels:
severity: critical
annotations:
@@ -63,7 +63,7 @@ spec:
description: "The WireGuard interface wg0 is not reporting any statistics. The VPN tunnel might be down or inactive."
- alert: WireguardPeerOffline
expr: (time() - wireguard_latest_handshake_seconds{interface="wg0"}) > 300
for: 5m
for: 1h
labels:
severity: critical
annotations: