Add alarm for aging ZFS snapshots

This commit is contained in:
Drew DeVault 2020-07-03 11:05:06 -04:00
parent 9c1389a8f8
commit 9bb58d3cdb
1 changed files with 7 additions and 0 deletions

View File

@ -9,3 +9,10 @@ groups:
severity: important
annotations:
summary: "{{ $labels.instance }} last backup age is >48 hours"
- alert: ZFS snapshot age
expr: time() - zfs_last_snapshot > 60 * 60 * 24
for: 2m
labels:
severity: important
annotations:
summary: "{{ $labels.instance }} last ZFS snapshot age is >24 hours"