prometheus: filter out outtake quanta sensors

pull/106/head
jeltz 6 months ago
parent c2f2c03af6
commit 68f36ae048
Signed by: jeltz
GPG Key ID: 800882B66C0C3326

@ -55,9 +55,18 @@ prometheus__rules_quanta:
annotations:
Description: !unsafe "{{ $labels.shChasFanDescription }}"
Status: !unsafe "{{ $labels.snChasFanOperStatus }}"
- alert: QuantaTemp
- alert: QuantaMissingIntakeTemp
expr:
0.5 * snAgentTempValue > 45
count by (instance) (
snAgentTempValue unless
snAgentTempValue{snAgentTempSensorDescr=~".*Intake.*"}
) > 0
for: 0m
labels:
severity: critical
- alert: QuantaIntakeTemp
expr:
0.5 * snAgentTempValue{snAgentTempSensorDesc=~".*Intake.*"} > 45
for: 10m
keep_firing_for: 30m
labels:
@ -65,9 +74,9 @@ prometheus__rules_quanta:
annotations:
Temperature: !unsafe "{{ $value }} °C"
Description: !unsafe "{{ $labels.snAgentTempSensorDescr }}"
- alert: QuantaTemp
- alert: QuantaIntakeTemp
expr:
0.5 * snAgentTempValue > 60
0.5 * snAgentTempValue{snAgentTempSensorDesc=~".*Intake.*"} > 60
for: 10m
keep_firing_for: 30m
labels:

Loading…
Cancel
Save