~sircmpwn/metrics.sr.ht

9bb58d3cdbef5ae3ef5b12bb2c138e69fc6f233f — Drew DeVault a month ago 9c1389a
Add alarm for aging ZFS snapshots
1 files changed, 7 insertions(+), 0 deletions(-)

M backup_rules.yml
M backup_rules.yml => backup_rules.yml +7 -0
@@ 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"