Guest User

Untitled

a guest
Jun 29th, 2018
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. $ cat alertmanager.yaml
  2.  
  3. global:
  4. resolve_timeout: 5m
  5. route:
  6. group_by: [Alertname]
  7. # Send all notifications to me.
  8. receiver: ipeacocks-alert
  9.  
  10. group_by: ['job']
  11. group_wait: 30s
  12. group_interval: 5m
  13. repeat_interval: 12h
  14. receiver: 'ipeacocks-alert'
  15. routes:
  16. - match:
  17. alertname: DeadMansSwitch
  18. receiver: 'ipeacocks-alert'
  19.  
  20. receivers:
  21. - name: ipeacocks-alert
  22. email_configs:
  23. - to: to-email@example.com
  24. from: from-email@outlook.com
  25. # Your smtp server address
  26. smarthost: smtp-mail.outlook.com:587
  27. auth_username: from-email@outlook.com
  28. auth_identity: from-email@outlook.com
  29. auth_password: y0ur-v3ry-h@rd-p@ssw0rd
Add Comment
Please, Sign In to add comment