From 5d80f6ec0fa2e05dfbb3d0d173d8a3118239635b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 28 Oct 2025 19:08:54 +0100 Subject: [PATCH] alertmanager: alert when mastodon is down --- systems/makanek/monitoring/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systems/makanek/monitoring/default.nix b/systems/makanek/monitoring/default.nix index e68806d..25d7964 100644 --- a/systems/makanek/monitoring/default.nix +++ b/systems/makanek/monitoring/default.nix @@ -187,7 +187,7 @@ in } { alert = "Mastodon"; - expr = ''probe_success{instance="https://social.krebsco.de"}''; + expr = ''probe_success{instance="https://social.krebsco.de"} == 0''; for = "5m"; annotations.description = "Mastodon instance {{$labels.instance}} is down"; }