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