nixos/prometheus-node-exporter: do not protect home
Set ProtectHome to false for the node exporter. This allows free space monitoring under /home.
This commit is contained in:
@@ -44,6 +44,8 @@ in
|
||||
];
|
||||
# The timex collector needs to access clock APIs
|
||||
ProtectClock = any (collector: collector == "timex") cfg.disabledCollectors;
|
||||
# Allow space monitoring under /home
|
||||
ProtectHome = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user