Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global:
- resolve_timeout: 5m
- slack_api_url: '<hook was here>'
- route:
- group_by: ['title']
- group_wait: 30s
- group_interval: 2m
- repeat_interval: 30s
- receiver: send-to-all
- routes:
- - match:
- alertname: InstanceDown
- receiver: 'send-to-all'
- receivers:
- - name: 'send-to-all'
- pagerduty_configs:
- - service_key: <key was here>
- client: '{{ .CommonLabels.client_env }}'
- component: '{{ .CommonLabels.host }}'
- description: '{{if .CommonLabels.description }}{{ .CommonLabels.description }}{{ else }} Multiple Alerts Received for {{ .CommonLabels.instance }}{{ end }}'
- slack_configs:
- - channel: 'production-monitoring'
- send_resolved: true
- icon_url: 'https://.com/img/default_company_logo-light.svg'
- text: "<!channel> \nsummary: {{ .CommonAnnotations.summary }}\ndescription: {{ .CommonAnnotations.description }}"
- email_configs:
- - to: [email protected]
- from: [email protected]
- smarthost: smtp.gmail.com:587
- auth_username: [email protected]
- auth_identity: [email protected]
- auth_password: <password was here>
Advertisement
Add Comment
Please, Sign In to add comment