fix: move alertmanager snippet back to docs

This commit is contained in:
2026-05-02 17:29:34 +02:00
parent dafa2cae75
commit 62cd5b7cf9
@@ -1,40 +0,0 @@
# Ergaenze deine bestehende Alertmanager-Konfiguration um diesen Receiver.
# Einzufuegen in: clusters/homelab/infrastructure/kube-prometheus-stack/
# (wo du Alertmanager konfigurierst — z.B. values.yaml oder alertmanager-config.yaml)
# alertmanager.yaml Receiver-Abschnitt:
receivers:
- name: "jarvis-webhook"
webhook_configs:
- url: "http://n8n.n8n.svc.cluster.local:5678/webhook/prometheus-alert"
send_resolved: true
max_alerts: 10
route:
receiver: "jarvis-webhook"
group_by: ["alertname", "namespace"]
group_wait: 30s
group_interval: 5m
repeat_interval: 4h
routes:
# Critical: sofort, kein Grouping-Delay
- matchers:
- severity="critical"
receiver: "jarvis-webhook"
group_wait: 0s
repeat_interval: 1h
# High: 30 Sekunden warten, dann senden
- matchers:
- severity="high"
receiver: "jarvis-webhook"
group_wait: 30s
repeat_interval: 2h
# Warning/Info: normale Rate, nicht zu oft
- matchers:
- severity=~"warning|info"
receiver: "jarvis-webhook"
group_wait: 2m
repeat_interval: 6h