modules/monitoring-3: expose systemd units
This commit is contained in:
parent
f2d91c9820
commit
33db62362f
@ -58,6 +58,9 @@ in
|
|||||||
#listenAddress = "${monitoring-network-base}${cfg.id}";
|
#listenAddress = "${monitoring-network-base}${cfg.id}";
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
firewallFilter = "-i wg-monitoring -p tcp -m tcp --dport 9100";
|
firewallFilter = "-i wg-monitoring -p tcp -m tcp --dport 9100";
|
||||||
|
enabledCollectors = [
|
||||||
|
"systemd"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services."prometheus-node-exporter".serviceConfig.RestrictAddressFamilies = [ "AF_NETLINK" ];
|
systemd.services."prometheus-node-exporter".serviceConfig.RestrictAddressFamilies = [ "AF_NETLINK" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user