monitoring, router, radius: monitor more hosts
This commit is contained in:
parent
02ca6f4d05
commit
b1d2815f3a
@ -79,6 +79,8 @@ with lib;
|
||||
{
|
||||
targets = [
|
||||
"[::1]:9100"
|
||||
"radius.bula22.de:9100"
|
||||
"router.bula22.de:9100"
|
||||
];
|
||||
}
|
||||
];
|
||||
|
@ -20,5 +20,11 @@ with lib;
|
||||
networking.defaultGateway = { address = "10.42.10.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";
|
||||
}
|
||||
|
@ -36,7 +36,11 @@
|
||||
networking.defaultGateway = { address = "10.42.10.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 = {
|
||||
"net.ipv4.conf.all.forwarding" = true;
|
||||
|
Loading…
Reference in New Issue
Block a user