forgot to change the blobercraft path to blob
This commit is contained in:
parent
3d71ed911d
commit
9f388d75d8
7 changed files with 0 additions and 0 deletions
45
hosts/blob/gatus.nix
Normal file
45
hosts/blob/gatus.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ unstable, ... }: let
|
||||
gatus.up = [
|
||||
"[STATUS] == 200"
|
||||
"[RESPONSE_TIME] < 300"
|
||||
];
|
||||
in {
|
||||
services.gatus = {
|
||||
package = unstable.gatus;
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
web.port = 8081;
|
||||
endpoints = [
|
||||
{
|
||||
name = "nas";
|
||||
group = "external";
|
||||
url = "http://192.168.50.240";
|
||||
interval = "5m";
|
||||
conditions = gatus.up;
|
||||
}
|
||||
{
|
||||
name = "site";
|
||||
group = "remote";
|
||||
url = "https://squi.bid";
|
||||
interval = "10m";
|
||||
conditions = gatus.up;
|
||||
}
|
||||
{
|
||||
name = "git site";
|
||||
group = "remote";
|
||||
url = "https://git.squi.bid";
|
||||
interval = "10m";
|
||||
conditions = gatus.up;
|
||||
}
|
||||
{
|
||||
name = "voidpkgs";
|
||||
group = "remote";
|
||||
url = "https://voidpkgs.squi.bid";
|
||||
interval = "10m";
|
||||
conditions = [''[BODY] == pat(*x86_64-repodata.sig2*)''];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue