summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ele-mon.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/host_vars/ele-mon.yml')
-rw-r--r--inventory/host_vars/ele-mon.yml13
1 files changed, 10 insertions, 3 deletions
diff --git a/inventory/host_vars/ele-mon.yml b/inventory/host_vars/ele-mon.yml
index f9956901..3fdb4d17 100644
--- a/inventory/host_vars/ele-mon.yml
+++ b/inventory/host_vars/ele-mon.yml
@@ -96,18 +96,25 @@ prometheus_alertmanager_smtp:
prometheus_alertmanager_route:
receiver: empty
routes:
- - receiver: equinox
+ - receiver: equinox-mail
matchers:
- 'alertname != PrometheusAlertmanagerE2eDeadManSwitch'
group_by:
- instance
+ continue: true
+ - receiver: equinox-sms
+ matchers:
+ - 'alertname != PrometheusAlertmanagerE2eDeadManSwitch'
+ - severity="critical"
prometheus_alertmanager_receivers:
- name: empty
- - name: equinox
+ - name: equinox-mail
email_configs:
- to: equinox@spreadspace.org
-
+ - name: equinox-sms
+ webhook_configs:
+ - url: "http://{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets['ele-sms']) | ipaddr('address') }}:9876/alert"
grafana_secret_key: "{{ vault_grafana_secret_key }}"