Adaptation of UPS alerts

This commit is contained in:
pz2891 2021-02-08 13:52:17 +01:00
parent c2d33d594b
commit 8bfe83f73c

View file

@ -63,7 +63,7 @@ groups:
# Check UPS
- alert: UpsOutputSourceChanged
expr: upsOutputSource != 3
for: 5m
for: 1m
labels:
severity: warning
annotations:
@ -71,7 +71,7 @@ groups:
- alert: UpsBatteryStatusWarning
expr: upsBatteryStatus == 3
for: 5m
for: 2m
labels:
severity: warning
annotations:
@ -79,7 +79,7 @@ groups:
- alert: UpsBatteryStatusCritical
expr: upsBatteryStatus == 4
for: 5m
for: 10m
labels:
severity: warning
annotations:
@ -95,7 +95,7 @@ groups:
- alert: UpsWrongInputVoltage
expr: (upsInputVoltage < 210) or (upsInputVoltage > 250)
for: 5m
for: 10m
labels:
severity: warning
annotations:
@ -103,7 +103,7 @@ groups:
- alert: UpsWrongOutputVoltage
expr: (upsOutputVoltage < 220) or (upsOutputVoltage > 240)
for: 5m
for: 10m
labels:
severity: warning
annotations:
@ -111,7 +111,7 @@ groups:
- alert: UpsTimeRemainingWarning
expr: upsEstimatedMinutesRemaining < 15
for: 5m
for: 1m
labels:
severity: warning
annotations:
@ -119,7 +119,7 @@ groups:
- alert: UpsTimeRemainingCritical
expr: upsEstimatedMinutesRemaining < 5
for: 5m
for: 1m
labels:
severity: critical
annotations: