1
0

Compare commits

...

2 Commits

Author SHA1 Message Date
b1d2815f3a monitoring, router, radius: monitor more hosts 2022-07-20 10:40:46 +02:00
02ca6f4d05 monitoring: fix broken targets 2022-07-20 10:40:46 +02:00
4 changed files with 17 additions and 4 deletions

View File

@ -46,6 +46,10 @@ pre-router.bula22.de. IN A 10.42.10.25
nixdeploy.bula22.de. IN A 10.42.10.245 nixdeploy.bula22.de. IN A 10.42.10.245
IN AAAA 2a01:4f8:1c0c:8221::245 IN AAAA 2a01:4f8:1c0c:8221::245
; External Services
vcp-bula-mon.bula22.de. IN AAAA 2a01:4f8:c0c:15f1::8105
vcp-bula-telko.bula22.de. IN AAAA 2001:638:904:ffcb::4
; Management ; Management
wlan-controller.bula22.de. IN A 10.42.42.10 wlan-controller.bula22.de. IN A 10.42.42.10
sw-zentral-1.bula22.de. IN A 10.42.42.11 sw-zentral-1.bula22.de. IN A 10.42.42.11
@ -69,7 +73,6 @@ sw-trabantenstadt.bula22.de. IN A 10.42.42.26
gw.services.net.bula22.de. IN A 10.42.10.1 gw.services.net.bula22.de. IN A 10.42.10.1
IN AAAA fd00:10:42:10::1 IN AAAA fd00:10:42:10::1
gw.management.net.bula22.de. IN A 10.42.42.1 gw.management.net.bula22.de. IN A 10.42.42.1
IN AAAA fd00:10:42:42::1
gw.technik-iot.net.bula22.de. IN A 10.42.151.1 gw.technik-iot.net.bula22.de. IN A 10.42.151.1
IN AAAA fd00:10:42:151::1 IN AAAA fd00:10:42:151::1
gw.ikt.net.bula22.de. IN A 10.42.201.1 gw.ikt.net.bula22.de. IN A 10.42.201.1

View File

@ -79,6 +79,8 @@ with lib;
{ {
targets = [ targets = [
"[::1]:9100" "[::1]:9100"
"radius.bula22.de:9100"
"router.bula22.de:9100"
]; ];
} }
]; ];
@ -95,11 +97,9 @@ with lib;
targets = [ targets = [
# Internet Probes # Internet Probes
"clerie.de" "clerie.de"
"vcp.de"
# Vlan Probes # Vlan Probes
"gw.services.net.bula22.de" "gw.services.net.bula22.de"
"gw.management.net.bula22.de"
"gw.technik-iot.net.bula22.de" "gw.technik-iot.net.bula22.de"
"gw.technik.net.bula22.de" "gw.technik.net.bula22.de"
"gw.hospital.net.bula22.de" "gw.hospital.net.bula22.de"

View File

@ -20,5 +20,11 @@ with lib;
networking.defaultGateway = { address = "10.42.10.1"; interface = "ens18"; }; networking.defaultGateway = { address = "10.42.10.1"; interface = "ens18"; };
networking.defaultGateway6 = { address = "2a01:4f8:1c0c:8221::1"; interface = "ens18"; }; networking.defaultGateway6 = { address = "2a01:4f8:1c0c:8221::1"; interface = "ens18"; };
services.prometheus.exporters.node = {
enable = true;
listenAddress = "10.42.10.5";
openFirewall = true;
};
system.stateVersion = "22.05"; system.stateVersion = "22.05";
} }

View File

@ -36,7 +36,11 @@
networking.defaultGateway = { address = "10.42.10.25"; interface = "net-services"; }; networking.defaultGateway = { address = "10.42.10.25"; interface = "net-services"; };
networking.defaultGateway6 = { address = "2a01:4f8:1c0c:8221::25"; interface = "net-services"; }; networking.defaultGateway6 = { address = "2a01:4f8:1c0c:8221::25"; interface = "net-services"; };
networking.nameservers = [ "10.42.10.8" "2a01:4f8:1c0c:8221::8" ]; services.prometheus.exporters.node = {
enable = true;
listenAddress = "10.42.10.2";
openFirewall = true;
};
boot.kernel.sysctl = { boot.kernel.sysctl = {
"net.ipv4.conf.all.forwarding" = true; "net.ipv4.conf.all.forwarding" = true;