Guest User

Untitled

a guest
Oct 2nd, 2019
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  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: pager-duty
  10. routes:
  11. - match:
  12. alertname: InstanceDown
  13. receiver: 'pager-duty'
  14.  
  15. receivers:
  16. - name: 'pager-duty'
  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.  
  23. - name: 'slack-notifications'
  24. slack_configs:
  25. - channel: 'production-monitoring'
  26. send_resolved: true
  27. icon_url: 'https://.com/img/default_company_logo-light.svg'
  28. text: "<!channel> \nsummary: {{ .CommonAnnotations.summary }}\ndescription: {{ .CommonAnnotations.description }}"
  29.  
  30. - name: email-me
  31. email_configs:
  32. smarthost: smtp.gmail.com:587
  33. auth_username: [email protected]
  34. auth_identity: [email protected]
  35. auth_password: <password was here>
Advertisement
Add Comment
Please, Sign In to add comment