File tree Expand file tree Collapse file tree
v1/alertmanager/rootfs/etc/confd/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# expand to all the things
2- {{ if exists "/deis/monitor/slack_webhook_url" }}
32notification_config {
4- name : " alertmanager_slack"
3+ name : " alertmanager_deis"
4+ {{ if exists "/deis/monitor/alertmanager/slack_webhook_url" }}
55 slack_config {
6- webhook_url : " {{ getv " /deis/monitor/slack_webhook_url" }}"
7- channel : " #{{ getv " /deis/monitor/slack_webhook_channel" }}"
6+ webhook_url : " {{ getv " /deis/monitor/alertmanager/ slack_webhook_url" }}"
7+ channel : " #{{ getv " /deis/monitor/alertmanager/ slack_webhook_channel" }}"
88 send_resolved : true
99 }
10+ {{ end }}
11+ {{ if exists "/deis/monitor/alertmanager/sns_topic_arn" }}
12+ amazon_sns_config {
13+ topic_arn : " {{ getv " /deis/monitor/alertmanager/sns_topic_arn" }}"
14+ send_resolved : true
15+ }
16+ {{ end }}
1017}
1118
1219aggregation_rule {
1320 repeat_rate_seconds : 3600
14- notification_config_name : " alertmanager_slack "
21+ notification_config_name : " alertmanager_deis "
1522}
16- {{ end }}
You can’t perform that action at this time.
0 commit comments