mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 22:11:33 +01:00
gatus: Refactor
This commit is contained in:
parent
02296be975
commit
6f53e67250
2 changed files with 86 additions and 77 deletions
|
|
@ -26,14 +26,19 @@
|
|||
enable = true;
|
||||
domain = "status.${config.custom.services.tailscale.domain}";
|
||||
domainsToMonitor = config.meta.domains.globalList;
|
||||
customEndpoints = {
|
||||
endpoints = {
|
||||
"alerts" = {
|
||||
group = "Monitoring";
|
||||
url = "https://${config.custom.services.ntfy.domain}/v1/health";
|
||||
path = "/v1/health";
|
||||
extraConditions = [ "[BODY].healthy == true" ];
|
||||
};
|
||||
"git ssh".url = "ssh://git.sstork.dev";
|
||||
"speedtest".url = "http://speedtest.sprouted.cloud";
|
||||
"grafana".group = "Monitoring";
|
||||
"logs".group = "Monitoring";
|
||||
"git ssh" = {
|
||||
protocol = "ssh";
|
||||
domain = "git.sstork.dev";
|
||||
};
|
||||
"speedtest".protocol = "http";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue