From cbafe4f0cae9f3407b4b23f52345559da48d85c6 Mon Sep 17 00:00:00 2001 From: Yurii Kondrakov Date: Thu, 12 Dec 2024 20:30:03 -0500 Subject: [PATCH] Fire SsaCLIControllerNotOK only if status is not OK and not NOT CONFIGURED (#373) * Fire SsaCLIControllerNotOK only if status is not OK and not NOT CONFIGURED * Fix status spelling --- 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..5f44c85a 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