Files
kubernetes/victoria-metrics/alertmanager.config.yml
Dustin C. Hatch 8f354a4460 v-m/alertmanager: Suppress battery low alerts
The alerts for Z-Wave device batteries in particular are pretty
annoying, as they tend to "flap" for some reason.  I like having the
alerts show up on Alertmanager/Grafana dashboards, but I don't
necessarily need notifications about them.  Fortunately, we can create a
special "none" receiver and route notifications there, which does
exactly what we want here.
2024-09-22 12:01:02 -05:00

34 lines
609 B
YAML

global:
smtp_from: prometheus@pyrocufflink.blue
smtp_require_tls: false
smtp_smarthost: mail.pyrocufflink.blue:25
receivers:
- email_configs:
- send_resolved: true
to: gyrfalcon@ebonfire.com
name: default-email
- name: ntfy
webhook_configs:
- url: http://alertmanager-ntfy:8000/hook
- name: none
route:
group_by:
- '...'
receiver: ntfy
routes:
- receiver: none
matchers:
- alertname=Battery Low
- receiver: ntfy
matchers:
- alertname=DiskUsage
group_by:
- instance
- receiver: ntfy
matchers:
- alertgroup=Frigate
group_by:
- alertname