Make exporters listen in localhost only

This commit is contained in:
Rodrigo Arias 2023-09-08 18:13:04 +02:00
parent 7050c505b5
commit 7ddd1977f3

View File

@ -19,6 +19,7 @@
enable = true;
port = 9001;
retentionTime = "1y";
listenAddress = "127.0.0.1";
};
systemd.services.prometheus-ipmi-exporter.serviceConfig.DynamicUser = lib.mkForce false;
@ -48,13 +49,18 @@
user = "root";
configFile = ./ipmi.yml;
#extraFlags = [ "--log.level=debug" ];
listenAddress = "127.0.0.1";
};
node = {
enable = true;
enabledCollectors = [ "systemd" ];
port = 9002;
listenAddress = "127.0.0.1";
};
smartctl = {
enable = true;
listenAddress = "127.0.0.1";
};
smartctl.enable = true;
};
scrapeConfigs = [