Guest User

Untitled

a guest
Oct 16th, 2018
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. global:
  2. # The smarthost and SMTP sender used for mail notifications.
  3. smtp_smarthost: 'smtp.domain.com:25'
  4. smtp_from: 'alertmanager@domain.com'
  5. #smtp_auth_username: "<sender-email-address>"
  6. #smtp_auth_password: '<sender-email-password>'
  7. route:
  8. group_by: [Alertname]
  9. # Send all notifications to me.
  10. group_wait: 30s
  11. group_interval: 5m
  12. repeat_interval: 15m
  13. routes:
  14. - match:
  15. alertname: DeadMansSwitch
  16. receiver: 'null'
  17. receiver: email-me
  18. receivers:
  19. - name: email-me
  20. email_configs:
  21. - to: me@domain.com
  22. from: alertmanager@domain.com
  23. smarthost: smtp.domain.com:25
  24. require_tls: false
  25. send_resolved: true
  26. headers:
  27. subject: "PRE-PROD {{ .Alerts.Firing | len }} firing alerts"
  28. #auth_username: "<sender-email-address>"
  29. #auth_identity: "<sender-email-address>"
  30. #auth_password: "<sender-email-password>"
  31. - name: 'null'
Add Comment
Please, Sign In to add comment