diff --git a/src/prometheus_alert_rules/ipmi_dcmi.yaml b/src/prometheus_alert_rules/ipmi_dcmi.yaml index d9059975..fc82495c 100644 --- a/src/prometheus_alert_rules/ipmi_dcmi.yaml +++ b/src/prometheus_alert_rules/ipmi_dcmi.yaml @@ -15,7 +15,7 @@ groups: LABELS = {{ $labels }} - alert: IPMIDCMIPowerConsumptionOutstanding - expr: ipmi_dcmi_power_cosumption_watts >= 200 + expr: ipmi_dcmi_power_cosumption_watts >= 300 for: 5m labels: severity: warning diff --git a/tests/unit/test_alert_rules/test_ipmi_dcmi.yaml b/tests/unit/test_alert_rules/test_ipmi_dcmi.yaml index a7cf356c..e51d2de2 100644 --- a/tests/unit/test_alert_rules/test_ipmi_dcmi.yaml +++ b/tests/unit/test_alert_rules/test_ipmi_dcmi.yaml @@ -17,7 +17,7 @@ tests: - series: ipmi_dcmi_command_success{instance="ubuntu-2"} values: '1x15' - series: ipmi_dcmi_power_cosumption_watts{instance="ubuntu-2"} - values: '220x15' + values: '320x15' alert_rule_test: - eval_time: 0m @@ -43,5 +43,5 @@ tests: summary: IPMI DCMI power consumption is high. (instance ubuntu-2) description: | IPMI DCMI power consumption is high for over 5 minutes. - POWER_CONSUMPTiON_WATTS = 220 + POWER_CONSUMPTiON_WATTS = 320 LABELS = map[__name__:ipmi_dcmi_power_cosumption_watts instance:ubuntu-2]