From fb4a0ee73620214a370a2031c38aecb6c20e2b36 Mon Sep 17 00:00:00 2001 From: Deezzir Date: Thu, 12 Dec 2024 18:30:45 -0500 Subject: [PATCH] Fire SsaCLIControllerNotOK only if status is not OK and not NOT CONFIGURED --- src/prometheus_alert_rules/ssacli.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prometheus_alert_rules/ssacli.yaml b/src/prometheus_alert_rules/ssacli.yaml index c4dfeaa7..baab48ba 100644 --- a/src/prometheus_alert_rules/ssacli.yaml +++ b/src/prometheus_alert_rules/ssacli.yaml @@ -27,7 +27,7 @@ groups: LABELS = {{ $labels }} - alert: SsaCLIControllerNotOK - expr: ssacli_controller_info{status != "OK"} == 1 + expr: ssacli_controller_info{status != "OK", status!="NOT_CONFIGURED"} == 1 for: 0m labels: severity: critical