-
Notifications
You must be signed in to change notification settings - Fork 41
node_exporter filesystem collector can not read /proc/1/mounts #22
Comments
@omilun I'm afraid I have no idea. I haven't used this repo in a while since Prometheus is now a part of OpenShift. Are you running as a DaemonSet or natively? |
Yes.I am using NodeExporter as a DaemonSet. |
Might be worthwhile trying a native deployment to ensure it's not something on the nodes rather the container. |
Can you try natively to see if this happens then, too? From a quick glance the hostpath mounts seem to give all necessary permissions. |
I have solved this issue today. |
Great. Mind sending me a pull request to fix this, please? |
I just realized that your node-exporter.yaml and setup.sh already had the fix ( Doesn't enabling |
It does. But of course there are use cases where it's necessary. That's why SCCs exist. And a Node Exporter without full access to the host doesn't make a lot of sense. So it's OK to do it here. |
Hello i am using the node-exporter and it can not collect filesystem metrics .
Node-exporter log has an error :
I don't have any problems with Node-exporter version 0.16 but new version (0.17) has this problem . Prometheus contributors solve this problem at latest version (0.18)
The text was updated successfully, but these errors were encountered: