mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Also monitor hosts with gatus
This commit is contained in:
parent
74cb6b3cb1
commit
893a488be1
2 changed files with 110 additions and 85 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
config,
|
||||
self,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
system.stateVersion = "24.11";
|
||||
|
||||
|
|
@ -23,7 +28,8 @@
|
|||
gatus = {
|
||||
enable = true;
|
||||
domain = "status.${config.custom.services.tailscale.domain}";
|
||||
endpointDomains = config.meta.domains.globalList;
|
||||
domainsToMonitor = config.meta.domains.globalList;
|
||||
hostsToMonitor = self.nixosConfigurations |> lib.attrNames;
|
||||
customEndpoints = {
|
||||
"alerts" = {
|
||||
group = "Monitoring";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue