Guest User

Untitled

a guest
Oct 3rd, 2019
495
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. global:
  2. resolve_timeout: 5m
  3. slack_api_url: '<hook was here>'
  4. route:
  5. group_by: ['title']
  6. group_wait: 30s
  7. group_interval: 2m
  8. repeat_interval: 30s
  9. receiver: send-to-all
  10. routes:
  11. - match:
  12. alertname: InstanceDown
  13. receiver: 'send-to-all'
  14.  
  15. receivers:
  16. - name: 'send-to-all'
  17. pagerduty_configs:
  18. - service_key: <key was here>
  19. client: '{{ .CommonLabels.client_env }}'
  20. component: '{{ .CommonLabels.host }}'
  21. description: '{{if .CommonLabels.description }}{{ .CommonLabels.description }}{{ else }} Multiple Alerts Received for {{ .CommonLabels.instance }}{{ end }}'
  22. slack_configs:
  23. - channel: 'production-monitoring'
  24. send_resolved: true
  25. icon_url: 'https://.com/img/default_company_logo-light.svg'
  26. text: "<!channel> \nsummary: {{ .CommonAnnotations.summary }}\ndescription: {{ .CommonAnnotations.description }}"
  27. email_configs:
  28. smarthost: smtp.gmail.com:587
  29. auth_username: [email protected]
  30. auth_identity: [email protected]
  31. auth_password: <password was here>
Advertisement
Add Comment
Please, Sign In to add comment