1
0
Fork 0

Alert for full backup storage

This commit is contained in:
clerie 2022-09-14 19:38:10 +02:00
parent 018b04b798
commit abd589aa73
1 changed files with 8 additions and 0 deletions

View File

@ -16,3 +16,11 @@ groups:
annotations:
summary: "Uptime of {{ $labels.instance }} more than 90 days"
description: "The last reboot of {{ $labels.instance }} was more than 90 days ago"
- alert: BackupStorageFull
expr: ((node_filesystem_avail_bytes{instance="clerie-backup.mon.clerie.de:9100", job="node-exporter", mountpoint="/mnt/clerie-backup"} / node_filesystem_size_bytes{instance="clerie-backup.mon.clerie.de:9100", job="node-exporter", mountpoint="/mnt/clerie-backup"}) * 100) < 5
for: 30m
labels:
severity: critical
annotations:
summary: "Storage for backup is nearly full"
description: "Storage for backups is nearly full"