From 87331b24b03cd15f0156be90d9ff9db2598a9a2a Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 7 Sep 2025 08:21:04 -0500 Subject: [PATCH] v-m/alerts: Ignore Restic alert for bw0 _bw0.pyrocufflink.blue_ has been decommissioned since some time, so it doesn't get backed up any more. We want to keep its previous backups around, though, in case we ever need to restore something. This triggers the "no recent backups" alert, since the last snapshot is over a week old. Let's ignore that hostname when generating this alert. --- victoria-metrics/alerts.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/victoria-metrics/alerts.yml b/victoria-metrics/alerts.yml index cd405f1..26fe129 100644 --- a/victoria-metrics/alerts.yml +++ b/victoria-metrics/alerts.yml @@ -246,6 +246,7 @@ groups: - alert: Last Backup Age expr: >- time() - restic_backup_timestamp{ + client_hostname!="bw0.pyrocufflink.blue", client_hostname!="luma.pyrocufflink.blue", client_hostname!="toad.pyrocufflink.blue", }> 604800