make gatus monitoring more frequent and store data
This commit is contained in:
parent
c3996f55ce
commit
f8c4c5a702
2 changed files with 11 additions and 5 deletions
|
|
@ -10,33 +10,39 @@ in {
|
|||
openFirewall = true;
|
||||
settings = {
|
||||
web.port = 8081;
|
||||
storage = {
|
||||
path = "/var/lib/gatus/db.sqlite";
|
||||
type = "sqlite";
|
||||
caching = true;
|
||||
};
|
||||
ui.dark-mode = true;
|
||||
endpoints = [
|
||||
{
|
||||
name = "nas";
|
||||
group = "external";
|
||||
url = "http://192.168.50.240";
|
||||
interval = "5m";
|
||||
interval = "1m";
|
||||
conditions = gatus.up;
|
||||
}
|
||||
{
|
||||
name = "site";
|
||||
group = "remote";
|
||||
url = "https://squi.bid";
|
||||
interval = "10m";
|
||||
interval = "2m";
|
||||
conditions = gatus.up;
|
||||
}
|
||||
{
|
||||
name = "git site";
|
||||
group = "remote";
|
||||
url = "https://git.squi.bid";
|
||||
interval = "10m";
|
||||
interval = "2m";
|
||||
conditions = gatus.up;
|
||||
}
|
||||
{
|
||||
name = "voidpkgs";
|
||||
group = "remote";
|
||||
url = "https://voidpkgs.squi.bid";
|
||||
interval = "10m";
|
||||
interval = "2m";
|
||||
conditions = [''[BODY] == pat(*x86_64-repodata.sig2*)''];
|
||||
}
|
||||
];
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
name = "jellyfin";
|
||||
group = "local";
|
||||
url = "http://localhost:8096/System/Ping";
|
||||
interval = "5m";
|
||||
interval = "30s";
|
||||
conditions = [''[BODY] == "Jellyfin Server"''];
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue