modules/monitoring: fix node exporter interface stats access
This commit is contained in:
parent
273e729eba
commit
aef18ccde7
@ -50,6 +50,8 @@ in
|
|||||||
firewallFilter = "-i wg-monitoring -p tcp -m tcp --dport 9100";
|
firewallFilter = "-i wg-monitoring -p tcp -m tcp --dport 9100";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services."prometheus-node-exporter".serviceConfig.RestrictAddressFamilies = [ "AF_NETLINK" ];
|
||||||
|
|
||||||
services.prometheus.exporters.bird = mkIf cfg.bird {
|
services.prometheus.exporters.bird = mkIf cfg.bird {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user