22 lines
438 B
Django/Jinja
22 lines
438 B
Django/Jinja
global:
|
|
smtp_smarthost: 'localhost:25'
|
|
smtp_from: 'alertmanager@example.com'
|
|
|
|
route:
|
|
group_by: ['alertname']
|
|
group_wait: 30s
|
|
group_interval: 5m
|
|
repeat_interval: 12h
|
|
receiver: 'email-notifications'
|
|
|
|
receivers:
|
|
- name: 'email-notifications'
|
|
email_configs:
|
|
- to: 'alerts@example.com'
|
|
send_resolved: true
|
|
|
|
- name: 'webhook-notifications'
|
|
webhook_configs:
|
|
- url: 'http://node-red:1880/alerts'
|
|
send_resolved: true
|