feat: add foundry vtt to allerting
This commit is contained in:
parent
eb40b7ff06
commit
a0ffb52f98
2 changed files with 17 additions and 4 deletions
|
|
@ -3,7 +3,10 @@
|
|||
let
|
||||
cfg = config.services.blackbox-exporter;
|
||||
nginxVHosts = config.services.nginx.virtualHosts or {};
|
||||
allDomains = lib.attrNames nginxVHosts;
|
||||
allDomains =
|
||||
(lib.attrNames nginxVHosts) ++ [
|
||||
"foundry-vtt.cloonar.com"
|
||||
];
|
||||
filteredDomains = builtins.filter (d: !builtins.elem d cfg.blacklistDomains) allDomains;
|
||||
httpsDomains = lib.map (d: "https://${d}") filteredDomains;
|
||||
websiteAlertRules = lib.map (target:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue