Compare commits

...

2 commits

Author SHA1 Message Date
fcbbf4b8e4
add blob to the deployments 2025-12-01 22:07:49 -05:00
f8c4c5a702
make gatus monitoring more frequent and store data 2025-12-01 22:02:51 -05:00
3 changed files with 12 additions and 5 deletions

View file

@ -78,6 +78,7 @@
# and where they get deployed to # and where they get deployed to
deploy.nodes = mkNodes { deploy.nodes = mkNodes {
crayon = { hostname = "squi.bid"; }; crayon = { hostname = "squi.bid"; };
blob = { hostname = "192.168.50.159"; };
}; };
# dev shell to deploy this flake # dev shell to deploy this flake

View file

@ -10,33 +10,39 @@ in {
openFirewall = true; openFirewall = true;
settings = { settings = {
web.port = 8081; web.port = 8081;
storage = {
path = "/var/lib/gatus/db.sqlite";
type = "sqlite";
caching = true;
};
ui.dark-mode = true;
endpoints = [ endpoints = [
{ {
name = "nas"; name = "nas";
group = "external"; group = "external";
url = "http://192.168.50.240"; url = "http://192.168.50.240";
interval = "5m"; interval = "1m";
conditions = gatus.up; conditions = gatus.up;
} }
{ {
name = "site"; name = "site";
group = "remote"; group = "remote";
url = "https://squi.bid"; url = "https://squi.bid";
interval = "10m"; interval = "2m";
conditions = gatus.up; conditions = gatus.up;
} }
{ {
name = "git site"; name = "git site";
group = "remote"; group = "remote";
url = "https://git.squi.bid"; url = "https://git.squi.bid";
interval = "10m"; interval = "2m";
conditions = gatus.up; conditions = gatus.up;
} }
{ {
name = "voidpkgs"; name = "voidpkgs";
group = "remote"; group = "remote";
url = "https://voidpkgs.squi.bid"; url = "https://voidpkgs.squi.bid";
interval = "10m"; interval = "2m";
conditions = [''[BODY] == pat(*x86_64-repodata.sig2*)'']; conditions = [''[BODY] == pat(*x86_64-repodata.sig2*)''];
} }
]; ];

View file

@ -13,7 +13,7 @@
name = "jellyfin"; name = "jellyfin";
group = "local"; group = "local";
url = "http://localhost:8096/System/Ping"; url = "http://localhost:8096/System/Ping";
interval = "5m"; interval = "30s";
conditions = [''[BODY] == "Jellyfin Server"'']; conditions = [''[BODY] == "Jellyfin Server"''];
} }
]; ];