Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global:
- # The smarthost and SMTP sender used for mail notifications.
- smtp_smarthost: 'smtp.domain.com:25'
- smtp_from: 'alertmanager@domain.com'
- #smtp_auth_username: "<sender-email-address>"
- #smtp_auth_password: '<sender-email-password>'
- route:
- group_by: [Alertname]
- # Send all notifications to me.
- group_wait: 30s
- group_interval: 5m
- repeat_interval: 15m
- routes:
- - match:
- alertname: DeadMansSwitch
- receiver: 'null'
- receiver: email-me
- receivers:
- - name: email-me
- email_configs:
- - to: me@domain.com
- from: alertmanager@domain.com
- smarthost: smtp.domain.com:25
- require_tls: false
- send_resolved: true
- headers:
- subject: "PRE-PROD {{ .Alerts.Firing | len }} firing alerts"
- #auth_username: "<sender-email-address>"
- #auth_identity: "<sender-email-address>"
- #auth_password: "<sender-email-password>"
- - name: 'null'
Add Comment
Please, Sign In to add comment