1
0

modules/monitoring: fix node exporter interface stats access

This commit is contained in:
clerie 2022-11-02 18:47:06 +01:00
parent 273e729eba
commit aef18ccde7

View File

@ -50,6 +50,8 @@ in
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 {
enable = true;
openFirewall = true;