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;
|
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*)''];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -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"''];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue