feat(gatus): add ntfy alerting for all services

This commit is contained in:
Will Holdsworth 2026-03-07 13:39:05 +11:00
parent 9a7169c1cb
commit c41995561a
Signed by: will-holdsworth
SSH key fingerprint: SHA256:Ykee8aymMJNAiYeeEmiwcIzkA1wgd4v8OZcWGxjq12c
24 changed files with 55 additions and 0 deletions

View file

@ -1,3 +1,7 @@
{
config,
...
}:
let
port = 5025;
certloc = "/var/lib/acme/fi33.buzz";
@ -8,7 +12,24 @@ in
services = {
gatus = {
enable = true;
environmentFile = config.age.secrets.gatus.path;
settings = {
alerting = {
ntfy = {
topic = "services";
url = config.services.ntfy-sh.settings.base-url;
token = "$NTFY_TOKEN";
click = url;
default-alert = {
description = "Health Check Failed";
send-on-resolved = true;
};
};
};
connectivity.checker = {
target = "1.1.1.1:53";
interval = "60s";
};
ui = {
title = "Health Dashboard | Fi33Buzz";
description = "Fi33Buzz health dashboard";
@ -29,4 +50,6 @@ in
}
'';
};
age.secrets.gatus.file = ../../../secrets/gatus.age;
}