From ba3f1c6e13c83fb5ea98f68de76a4f297535f2ae Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 10 Aug 2022 23:43:35 +0200 Subject: prometheus/chaos-at-home: upgrade prometeus and exporter --- inventory/host_vars/ch-mon.yml | 17 ++++++++++------- inventory/host_vars/ele-calypso.yml | 1 + 2 files changed, 11 insertions(+), 7 deletions(-) (limited to 'inventory/host_vars') diff --git a/inventory/host_vars/ch-mon.yml b/inventory/host_vars/ch-mon.yml index ae3b823a..27f56f5d 100644 --- a/inventory/host_vars/ch-mon.yml +++ b/inventory/host_vars/ch-mon.yml @@ -141,17 +141,20 @@ prometheus_alertmanager_auth_users: admin: "{{ vault_prometheus_alertmanager_auth_user_passwords['admin'] }}" prometheus_alertmanager_route: - receiver: equinox - matchers: - - 'alertname != PrometheusAlertmanagerE2eDeadManSwitch' - group_by: - - instance + receiver: empty + routes: + - receiver: equinox-mail + matchers: + - 'alertname != PrometheusAlertmanagerE2eDeadManSwitch' + group_by: + - instance prometheus_alertmanager_receivers: - - name: equinox + - name: empty + - name: equinox-mail email_configs: - to: equinox@chaos-at-home.org - send_resolved: true + send_resolved: yes grafana_secret_key: "{{ vault_grafana_secret_key }}" diff --git a/inventory/host_vars/ele-calypso.yml b/inventory/host_vars/ele-calypso.yml index f5498ea9..eff3d767 100644 --- a/inventory/host_vars/ele-calypso.yml +++ b/inventory/host_vars/ele-calypso.yml @@ -142,6 +142,7 @@ prometheus_alertmanager_receivers: - name: equinox-mail email_configs: - to: equinox@spreadspace.org + send_resolved: yes - name: equinox-sms webhook_configs: - url: "http://127.0.0.1:9876/alert" -- cgit v1.2.3