From 9045a2201a7c4b5892b94967253378668bc32a90 Mon Sep 17 00:00:00 2001 From: Greg Konradt Date: Tue, 20 Aug 2024 13:15:27 +0200 Subject: [PATCH] fix: Inhibitors and info alerts --- monitoring/assets/helm-values-monitoring.tpl | 31 ++++++++++---------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/monitoring/assets/helm-values-monitoring.tpl b/monitoring/assets/helm-values-monitoring.tpl index a1cf3fc..c72c96e 100644 --- a/monitoring/assets/helm-values-monitoring.tpl +++ b/monitoring/assets/helm-values-monitoring.tpl @@ -59,22 +59,20 @@ alertmanager: resolve_timeout: 5m slack_api_url: ${ALERT_MANAGER_SLACK_WEBHOOK_URL} inhibit_rules: - - equal: - - namespace - - alertname - source_matchers: - - severity = critical + - source_matchers: + - severity = critical target_matchers: - - severity =~ warning|info - - equal: - - namespace - - alertname - source_matchers: - - severity = warning - - target_matchers: - - severity = info - - target_matchers: - - alertname = AlertmanagerFailedToSendAlerts + - severity =~ warning|info + equal: + - namespace + - alertname + - source_matchers: + - severity = warning + target_matchers: + - severity = info + equal: + - namespace + - alertname receivers: - name: 'cole' @@ -113,6 +111,9 @@ alertmanager: - match: alertname: InfoInhibitor receiver: "null" + - match: + severity: info + receiver: "null" - match: alertname: HeartBeat receiver: 'cole'