diff --git a/modules/prometheus/alert-rules.nix b/modules/prometheus/alert-rules.nix index a483c2a..30a28d2 100644 --- a/modules/prometheus/alert-rules.nix +++ b/modules/prometheus/alert-rules.nix @@ -250,4 +250,10 @@ lib.mapAttrsToList # description = # "alertmanager: number of active silences has changed: {{$value}}"; # }; + + garage_cluster_healthy = { + condition = "cluster_healthy = 0"; + time = "15m"; + description = "garage cluster on {{$labels.instance}} is not healthy: {{$labels.result}}!"; + }; })