diff --git a/modules/templates/web-feature.nix b/modules/templates/web-feature.nix index 5a2ddbf..8e8978c 100644 --- a/modules/templates/web-feature.nix +++ b/modules/templates/web-feature.nix @@ -10,6 +10,21 @@ in enable = true; }; + gatus.settings.endpoints = [ + { + name = "feature"; + group = ""; + inherit url; + interval = "5m"; + conditions = [ + "[STATUS] == 200" + "[CONNECTED] == true" + "[RESPONSE_TIME] < 500" + ]; + alerts = [ { type = "ntfy"; } ]; + } + ]; + # borgmatic.settings = { # source_directories = [ ]; # postgresql_databases = [