modules/monitoring: fix node exporter interface stats access

master
clerie 4 weeks ago
parent 273e729eba
commit aef18ccde7
  1. 2
      modules/monitoring/default.nix

@ -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;

Loading…
Cancel
Save