From de8a48577917c8fada6a3ed4bae76438ad30f1a0 Mon Sep 17 00:00:00 2001 From: clerie Date: Tue, 18 Apr 2023 22:52:52 +0200 Subject: [PATCH] hosts/monitoring: use correct instance for backup storage monitoring rule --- hosts/monitoring-3/rules.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/monitoring-3/rules.yml b/hosts/monitoring-3/rules.yml index 95ed038..1382016 100644 --- a/hosts/monitoring-3/rules.yml +++ b/hosts/monitoring-3/rules.yml @@ -18,7 +18,7 @@ groups: summary: "Current system of {{ $labels.instance }} not in sync with config" description: "The current system hash of {{ $labels.instance }} does not match the one generated by hydra based on the current config" - 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 + expr: ((node_filesystem_avail_bytes{instance="clerie-backup.net.clerie.de", job="node-exporter", mountpoint="/mnt/clerie-backup"} / node_filesystem_size_bytes{instance="clerie-backup.net.clerie.de", job="node-exporter", mountpoint="/mnt/clerie-backup"}) * 100) < 5 for: 30m labels: severity: critical