Skip to content

Commit

Permalink
fix(alert): Update ipmi power cosumption threshold to 300
Browse files Browse the repository at this point in the history
Change the ipmi_dcmi_power_cosumption_watts from 200 to 300
  • Loading branch information
jneo8 committed Nov 14, 2023
1 parent 8d14bcf commit 04741af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/prometheus_alert_rules/ipmi_dcmi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test_alert_rules/test_ipmi_dcmi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]

0 comments on commit 04741af

Please sign in to comment.