SHOW:
|
|
- or go back to the newest paste.
| 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 |
| 9 | + | receiver: send-to-all |
| 10 | routes: | |
| 11 | - match: | |
| 12 | alertname: InstanceDown | |
| 13 | - | receiver: 'pager-duty' |
| 13 | + | receiver: 'send-to-all' |
| 14 | ||
| 15 | receivers: | |
| 16 | - | - name: 'pager-duty' |
| 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 | - | - name: 'slack-notifications' |
| 23 | + | |
| 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 | - to: [email protected] | |
| 29 | from: [email protected] | |
| 30 | - | - name: email-me |
| 30 | + | |
| 31 | auth_username: [email protected] | |
| 32 | auth_identity: [email protected] | |
| 33 | auth_password: <password was here> |