mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 14:50:40 +02:00
feat(monitoring): remove location, add nginx upstream monitoring option
This commit is contained in:
parent
2024c3bfd5
commit
18b2002c27
26 changed files with 352 additions and 218 deletions
20
globals.nix
20
globals.nix
|
@ -28,31 +28,35 @@ in {
|
|||
};
|
||||
|
||||
monitoring = {
|
||||
dns.cloudflare = {
|
||||
server = "1.1.1.1";
|
||||
domain = ".";
|
||||
location = "home";
|
||||
network = "home-lan";
|
||||
dns = {
|
||||
cloudflare = {
|
||||
server = "1.1.1.1";
|
||||
domain = ".";
|
||||
network = "internet";
|
||||
};
|
||||
|
||||
google = {
|
||||
server = "8.8.8.8";
|
||||
domain = ".";
|
||||
network = "internet";
|
||||
};
|
||||
};
|
||||
|
||||
ping = {
|
||||
cloudflare = {
|
||||
hostv4 = "1.1.1.1";
|
||||
hostv6 = "2606:4700:4700::1111";
|
||||
location = "external";
|
||||
network = "internet";
|
||||
};
|
||||
|
||||
google = {
|
||||
hostv4 = "8.8.8.8";
|
||||
hostv6 = "2001:4860:4860::8888";
|
||||
location = "external";
|
||||
network = "internet";
|
||||
};
|
||||
|
||||
fritz-box = {
|
||||
hostv4 = globals.net.home-wan.hosts.fritzbox.ipv4;
|
||||
location = "home";
|
||||
network = "home-wan";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue