From 525d9aef4993db352efd56959117e395d81933e2 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Thu, 9 Oct 2025 00:16:35 +0200 Subject: [PATCH] gatus: Extend alert thresholds --- modules/system/services/gatus.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/system/services/gatus.nix b/modules/system/services/gatus.nix index 1ca440d..b9355b1 100644 --- a/modules/system/services/gatus.nix +++ b/modules/system/services/gatus.nix @@ -153,8 +153,8 @@ in click = "https://${cfg.domain}"; default-alert = { enable = true; - failure-threshold = 4; - success-threshold = 2; + failure-threshold = 8; + success-threshold = 4; send-on-resolved = true; }; overrides = [ @@ -163,8 +163,8 @@ in topic = "stork-atlas"; url = "https://ntfy.sh"; default-alert = { - failure-threshold = 1; - success-threshold = 1; + failure-threshold = 4; + success-threshold = 2; }; } ]; @@ -204,6 +204,8 @@ in }; }; + systemd.services.gatus.environment.GATUS_DELAY_START_SECONDS = "5"; + custom.persist.directories = [ dataDir ]; }; }