New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node exporter is not ignoring a mount point #911
Comments
The regexp just doesn't match the mountpoint. There is no opt/docker in the regex. It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided. |
My regexp still doesn't work. 2018-06-29T05:23:26.964166-04:00 sps-me-comsvc-1 SPS.info: PID = 23648 EXIT_STATUS = 0 I have put the following in in the execution command ExecStart=-/opt/tpa/node_exporter/node_exporter I even tried with ExecStart=-/opt/tpa/node_exporter/node_exporter Or ExecStart=-/opt/tpa/node_exporter/node_exporter But none of these work. drwx------. 5 root root 4096 Jun 11 02:37 containers ########################################################################### [Service] |
Maybe you have already resolved your issue, but just for a record...
Double quotes have to be removed; i.e. options in the
The original notation was telling node_exporter to ignore paths beginning with a double quote https://www.freedesktop.org/software/systemd/man/systemd.service.html#Command%20lines |
We are running a node exporter in a docker container v0.15.1 with the following docker-compose.
But even the log with debug level is saying
time="2018-04-18T13:51:09Z" level=debug msg="Ignoring mount point: /rootfs/opt/docker/devicemapper/mnt/5edaab07eea690d26b99f6258322f170441af87111d6ca0312fac519fc0e1a38/rootfs/sys/fs/cgroup/freezer" source="filesystem_linux.go:42"
In /var/log/messages are coming errors like this,
journal: time="2018-04-15T01:28:08Z" level=error msg="Error on statfs() system call for \"/rootfs/opt/docker/devicemapper/mnt/5edaab07eea690d26b99f6258322f170441af87111d6ca0312fac519fc0e1a38/rootfs\": permission denied" source="filesystem_linux.go:57"#015
There is any solution for this?
The text was updated successfully, but these errors were encountered: