node exporter is not ignoring a mount point

412 views
Skip to first unread message

david....@dtakers.com

unread,
Apr 19, 2018, 5:45:35 AM4/19/18
to Prometheus Users
We are running a node exporter in a docker container v0.15.1 with the following docker-compose.

volumes:

     
- /proc:/host/proc:ro
     
- /sys:/host/sys:ro
     
- /:/rootfs:ro
    command
:
     
- '--path.procfs=/host/proc'
     
- '--path.sysfs=/host/sys'
     
- --collector.filesystem.ignored-mount-points
     
- "^/(sys|proc|dev|host|etc|rootfs/var/lib/docker/containers|rootfs/var/lib/docker/overlay2|rootfs/run/docker/netns|rootfs/var/lib/docker/aufs|rootfs/opt/docker/devicemapper)($$|/)"


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?
Reply all
Reply to author
Forward
0 new messages