adjust batter low alert to fire only when there is no pwoer [ci skip]

This commit is contained in:
Viktor Barzin 2025-03-22 15:47:16 +00:00
parent 8eb18ec651
commit 6100372a9e

View file

@ -173,7 +173,7 @@ serverFiles:
annotations:
summary: "UPS on battery for {{ $value }} seconds"
- alert: LowUPBattery
expr: ups_upsEstimatedMinutesRemaining < 25
expr: ups_upsEstimatedMinutesRemaining < 25 and on(instance) ups_upsInputVoltage < 150
for: 1m
labels:
severity: critical