Files
homelab-optimized/archive/deprecated-monitoring-stacks/prometheus_grafana_hub/alerting/alertmanager.yml
Gitea Mirror Bot 4bb38d4e1f
Some checks failed
Documentation / Build Docusaurus (push) Failing after 5m12s
Documentation / Deploy to GitHub Pages (push) Has been skipped
Sanitized mirror from private repository - 2026-03-21 08:56:04 UTC
2026-03-21 08:56:04 +00:00

59 lines
1.3 KiB
YAML

# Alertmanager Configuration for Homelab
# Routes alerts to both ntfy and Signal
global:
resolve_timeout: 5m
route:
group_by: ['alertname', 'severity', 'instance']
group_wait: 30s
group_interval: 5m
repeat_interval: 4h
receiver: 'ntfy-all'
routes:
# Critical alerts go to both Signal AND ntfy
- match:
severity: critical
receiver: 'critical-alerts'
continue: false
# Warning alerts go to ntfy only
- match:
severity: warning
receiver: 'ntfy-all'
receivers:
# ntfy receiver for all alerts
- name: 'ntfy-all'
webhook_configs:
- url: 'http://NTFY:80/homelab-alerts'
send_resolved: true
http_config:
follow_redirects: true
max_alerts: 10
# Critical alerts: Signal + ntfy
- name: 'critical-alerts'
webhook_configs:
# ntfy for critical
- url: 'http://NTFY:80/homelab-alerts'
send_resolved: true
http_config:
follow_redirects: true
max_alerts: 5
# Signal via bridge service
- url: 'http://signal-bridge:5000/alert'
send_resolved: true
http_config:
follow_redirects: true
max_alerts: 3
inhibit_rules:
- source_match:
severity: 'critical'
target_match:
severity: 'warning'
equal: ['alertname', 'instance']