Bartosz Kupidura | ee48cff | 2017-09-14 11:54:15 +0200 | [diff] [blame] | 1 | parameters: |
| 2 | prometheus: |
| 3 | alertmanager: |
Michal Kobus | 6f8f1d1 | 2018-03-28 18:33:32 +0200 | [diff] [blame] | 4 | enabled: true |
Bartosz Kupidura | ee48cff | 2017-09-14 11:54:15 +0200 | [diff] [blame] | 5 | config: |
| 6 | route: |
| 7 | routes: |
| 8 | email: |
| 9 | receiver: SMTP |
| 10 | match_re: |
| 11 | - label: route |
Michal Kobus | c12b48a | 2018-04-13 19:09:17 +0200 | [diff] [blame] | 12 | value: '(.*email.*)' |
Michal Kobus | 6f8f1d1 | 2018-03-28 18:33:32 +0200 | [diff] [blame] | 13 | continue: true |
Bartosz Kupidura | ee48cff | 2017-09-14 11:54:15 +0200 | [diff] [blame] | 14 | receiver: |
| 15 | SMTP: |
| 16 | enabled: true |
| 17 | email_configs: |
| 18 | smtp_server: |
| 19 | to: ${_param:alertmanager_notification_email_to} |
| 20 | from: ${_param:alertmanager_notification_email_from} |
| 21 | auth_username: ${_param:alertmanager_notification_email_username} |
| 22 | auth_password: ${_param:alertmanager_notification_email_password} |
| 23 | smarthost: ${_param:alertmanager_notification_email_host} |
| 24 | require_tls: ${_param:alertmanager_notification_email_require_tls} |
| 25 | send_resolved: true |