alerts: add check for healthy garage cluster

This commit is contained in:
teutat3s 2024-09-10 14:26:26 +02:00
parent 21a1ae15cb
commit faa71b7797
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -250,4 +250,10 @@ lib.mapAttrsToList
# description = # description =
# "alertmanager: number of active silences has changed: {{$value}}"; # "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}}!";
};
}) })