Allow access to devices for node_exporter
This commit is contained in:
parent
14b173f67e
commit
55d6c17776
@ -23,6 +23,10 @@
|
|||||||
systemd.services.prometheus-ipmi-exporter.serviceConfig.DynamicUser = lib.mkForce false;
|
systemd.services.prometheus-ipmi-exporter.serviceConfig.DynamicUser = lib.mkForce false;
|
||||||
systemd.services.prometheus-ipmi-exporter.serviceConfig.PrivateDevices = lib.mkForce false;
|
systemd.services.prometheus-ipmi-exporter.serviceConfig.PrivateDevices = lib.mkForce false;
|
||||||
|
|
||||||
|
# We need access to the devices to monitor the disk space
|
||||||
|
systemd.services.prometheus-node-exporter.serviceConfig.PrivateDevices = lib.mkForce false;
|
||||||
|
systemd.services.prometheus-node-exporter.serviceConfig.ProtectHome = lib.mkForce "read-only";
|
||||||
|
|
||||||
virtualisation.docker.daemon.settings = {
|
virtualisation.docker.daemon.settings = {
|
||||||
metrics-addr = "127.0.0.1:9323";
|
metrics-addr = "127.0.0.1:9323";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user