add low voltage alert to prometheus and update some dashboards [ci skip]

This commit is contained in:
Viktor Barzin 2024-12-23 18:21:01 +00:00
parent 33be8d34cd
commit 5ee5e59e61
2 changed files with 98 additions and 9 deletions

View file

@ -74,7 +74,7 @@ server:
# enabled: false
existingClaim: prometheus-iscsi-pvc
# storageClass: rook-cephfs
retention: "4w"
retention: "12w"
strategy:
type: Recreate
baseURL: "https://prometheus.viktorbarzin.me"
@ -149,6 +149,15 @@ serverFiles:
# targets: "alertmanager.viktorbarzin.lan"
alerting_rules.yml:
groups:
- name: LowVoltage
rules:
- alert: LowVoltage
expr: ups_upsInputVoltage < 205
for: 1m
labels:
severity: page
annotations:
summary: Low input voltage
- name: NodeDown
rules:
- alert: NodeDown