Hi Martín,

> Thanks for the patch! I have already applied it in the git repository,
> and will be uploaded soon.

Thanks for the quick fix!

> 
> Now, I would not recommend to run the node exporter as root, unless
> absolutely necessary. Do you have a use case for it?

I have a number of filesystems that are mounted within a directory structure 
only accessible by root.
Non-root users are unable to statfs() those mount points, however I need to 
monitor their disk usage.
What I will probably do in the long-term is mount those partitions into another 
directory and then bind-mount them to the root-owned path, however running the 
exporter as root is a work-around I am using until that happens.

- Anton

Reply via email to