prometheus: fix quanta temp alert queries
This commit is contained in:
parent
68f36ae048
commit
9eb5793b38
1 changed files with 5 additions and 4 deletions
|
@ -58,15 +58,16 @@ prometheus__rules_quanta:
|
|||
- alert: QuantaMissingIntakeTemp
|
||||
expr:
|
||||
count by (instance) (
|
||||
snAgentTempValue unless
|
||||
snAgentTempValue
|
||||
) - count by (instance) (
|
||||
snAgentTempValue{snAgentTempSensorDescr=~".*Intake.*"}
|
||||
) > 0
|
||||
) == 0
|
||||
for: 0m
|
||||
labels:
|
||||
severity: critical
|
||||
- alert: QuantaIntakeTemp
|
||||
expr:
|
||||
0.5 * snAgentTempValue{snAgentTempSensorDesc=~".*Intake.*"} > 45
|
||||
0.5 * snAgentTempValue{snAgentTempSensorDescr=~".*Intake.*"} > 45
|
||||
for: 10m
|
||||
keep_firing_for: 30m
|
||||
labels:
|
||||
|
@ -76,7 +77,7 @@ prometheus__rules_quanta:
|
|||
Description: !unsafe "{{ $labels.snAgentTempSensorDescr }}"
|
||||
- alert: QuantaIntakeTemp
|
||||
expr:
|
||||
0.5 * snAgentTempValue{snAgentTempSensorDesc=~".*Intake.*"} > 60
|
||||
0.5 * snAgentTempValue{snAgentTempSensorDescr=~".*Intake.*"} > 60
|
||||
for: 10m
|
||||
keep_firing_for: 30m
|
||||
labels:
|
||||
|
|
Loading…
Reference in a new issue