send notifications via email
Provide default configuration to send
alertmanager notifications to all receivers
including SMTP server.
PROD-18781
Change-Id: I299fbbee294e5c02a11c2746bccf4c8fe788e310
diff --git a/prometheus/alertmanager/notification/email.yml b/prometheus/alertmanager/notification/email.yml
index 02b44ff..4daec23 100644
--- a/prometheus/alertmanager/notification/email.yml
+++ b/prometheus/alertmanager/notification/email.yml
@@ -1,6 +1,7 @@
parameters:
prometheus:
alertmanager:
+ enabled: true
config:
route:
routes:
@@ -9,6 +10,7 @@
match_re:
- label: route
value: email
+ continue: true
receiver:
SMTP:
enabled: true
diff --git a/prometheus/alertmanager/notification/pushkin.yml b/prometheus/alertmanager/notification/pushkin.yml
index a78b6fd..151801b 100644
--- a/prometheus/alertmanager/notification/pushkin.yml
+++ b/prometheus/alertmanager/notification/pushkin.yml
@@ -1,10 +1,10 @@
parameters:
- _param:
- alertmanager_notification_pushkin_host: ${_param:haproxy_pushkin_bind_host}
- alertmanager_notification_pushkin_port: ${_param:haproxy_pushkin_bind_port}
-parameters:
+ _param:
+ alertmanager_notification_pushkin_host: ${_param:haproxy_pushkin_bind_host}
+ alertmanager_notification_pushkin_port: ${_param:haproxy_pushkin_bind_port}
prometheus:
alertmanager:
+ enabled: true
config:
route:
routes:
diff --git a/prometheus/alertmanager/notification/slack.yml b/prometheus/alertmanager/notification/slack.yml
index 2158adb..412e91f 100644
--- a/prometheus/alertmanager/notification/slack.yml
+++ b/prometheus/alertmanager/notification/slack.yml
@@ -1,11 +1,13 @@
parameters:
prometheus:
alertmanager:
+ enabled: true
config:
route:
routes:
slack:
receiver: HTTP-slack
+ continue: true
receiver:
HTTP-slack:
enabled: true