add alert for ups low battery remaining [ci skip]
This commit is contained in:
parent
82cf591a20
commit
f7eff3cb74
2 changed files with 14 additions and 0 deletions
|
|
@ -165,6 +165,20 @@ serverFiles:
|
|||
severity: page
|
||||
annotations:
|
||||
summary: "Low input voltage - {{ $value }}"
|
||||
- alert: OnBattery
|
||||
expr: ups_upsSecondsOnBattery > 0
|
||||
for: 30m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "UPS on battery for {{ $value }} seconds"
|
||||
- alert: LowUPBattery
|
||||
expr: ups_upsEstimatedMinutesRemaining < 25
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "UPS battery running out - {{ $value }} minutes remaining"
|
||||
- alert: NodeDown
|
||||
expr: (up{job="kubernetes-nodes"} or on() vector(0)) == 0
|
||||
for: 1m
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue