-
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
on Raspberry Pi: err="error parsing mdstatus: error parsing mdstat /proc/mdstat: open /proc/mdstat: no such file or directory" #1719
Comments
The documentation states
so I think this is genuinely a bug, either in the docs (to warn you to disable it), or in the code (to skip the metric if the file is not found). |
Yes, this looks like a bug in the upstream procfs library that parses the mstat file. Should be easy to fix. For now, you can manually disable the collector with |
Don't touch the ioutil error message so that the return can be tested with `os.IsNotExist()`. Related to prometheus/node_exporter#1719 Signed-off-by: Ben Kochie <[email protected]>
Meh.. that's unfortunate right after 1.0.. |
Update prometheus/procfs Fixes: #1719 Fixes: #1721 Signed-off-by: Ben Kochie <[email protected]>
Don't touch the ioutil error message so that the return can be tested with `os.IsNotExist()`. Related to prometheus/node_exporter#1719 Signed-off-by: Ben Kochie <[email protected]>
Host operating system: output of
uname -a
Linux piaware 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux
node_exporter version: output of
node_exporter --version
node_exporter command line flags
./node_exporter --web.listen-address="100.xx.xx.xx:9100" &
Are you running node_exporter in Docker?
What did you do that produced an error?
System is producing statistics, but I'm getting an error ever poll from mdstat
level=error ts=2020-05-26T20:15:43.377Z caller=collector.go:161 msg="collector failed" name=mdadm duration_seconds=0.000192865 err="error parsing mdstatus: error parsing mdstat /proc/mdstat: open /proc/mdstat: no such file or directory"
What did you expect to see?
No errors in logfile for default distribution
What did you see instead?
complaints about mdstat
The text was updated successfully, but these errors were encountered: