-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Error on statfs() system call for \"net:[4026533460]\": no such file or directory #773
Comments
guess regexp line 29 shoudl be replaced by "^((sys|auto)fs|proc)$" |
Sounds right, the type of the proc filesystem in Linux is |
well beware im not fluent enough in go to submit any PR. I prefer real expert to write the patch :) |
I'd vote for a simple regex list then |
still get error
why ? node-exporter:v0.15.2 |
Host operating system: output of
uname -a
3.10.0-327.36.3.el7.x86_64
node_exporter version: output of
node_exporter --version
node_exporter, version 0.15.2 (branch: HEAD, revision: 98bc649)
build user: root@d5c4792c921f
build date: 20171205-14:50:53
go version: go1.9.2
node_exporter command line flags
none
Are you running node_exporter in Docker?
no
What did you do that produced an error?
running node_exporter
What did you expect to see?
nothing
What did you see instead?
Dec 29 15:20:02 toto node_exporter: time="2017-12-29T15:20:02+01:00" level=error msg="Error on statfs() system call for \"net:[4026533460]\": no such file or directory" source="filesystem_linux.go:57" Dec 29 15:20:02 toto node_exporter: time="2017-12-29T15:20:02+01:00" level=error msg="Error on statfs() system call for \"net:[4026533460]\": no such file or directory" source="filesystem_linux.go:57"
toto:/proc# grep net /proc/mounts cgroup /sys/fs/cgroup/net_cls cgroup rw,nosuid,nodev,noexec,relatime,net_cls 0 0 tmpfs /run/netns tmpfs rw,nosuid,nodev,mode=755 0 0 proc net:[4026533460] proc rw,nosuid,nodev,noexec,relatime 0 0 proc net:[4026533460] proc rw,nosuid,nodev,noexec,relatime 0 0
In lines 28/29 of prometheus/node_exporter/blob/master/collector/filesystem_linux.go you define excluded filesystem type and excluded mount point but those
proc net:[4026533460] proc
are not catched by both regexp. with lead to this error message in logs.The text was updated successfully, but these errors were encountered: