Some machines have the same volume mounted multiple times (e.g. container hosts, BURP). Alerts will fire for all of these simultaneously when the filesystem usage passes the threshold. To avoid getting spammed with a bunch of messages about the same filesystem, we'll group alerts from the same machine.
30 lines
535 B
YAML
30 lines
535 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
|
|
|
|
route:
|
|
group_by:
|
|
- '...'
|
|
receiver: ntfy
|
|
routes:
|
|
- receiver: ntfy
|
|
matchers:
|
|
- alertname=DiskUsage
|
|
group_by:
|
|
- instance
|
|
- receiver: ntfy
|
|
matchers:
|
|
- alertgroup=Frigate
|
|
group_by:
|
|
- alertname
|