You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux hostname 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
node_exporter version: output of node_exporter --version
node_exporter, version 0.15.2+ds (branch: debian/sid, revision: 0.15.2+ds-1)
build user: [email protected]
build date: 20171214-15:26:08
go version: go1.9.2
node_exporter command line flags
--collector.mountstats
Are you running node_exporter in Docker?
No
What did you do that produced an error?
Nothing special, just scrape node exporter
What did you expect to see?
Mountstats metrics
What did you see instead?
No mountstats metrics. In logs:
Jan 07 14:15:10 hostname prometheus-node-exporter[22123]: time="2020-01-07T14:15:10Z" level=error msg="ERROR: mountstats collector failed after 0.005747s: failed to parse mountstats: not enough information for NFS stats: [obfuscated...] source="collector.go:123"
This is caused by following line, because my mountstats contain following line (sorry I had to obfuscate it, this is not real output, but it is multiline):
I believe, that this is caused, because there are no 2 fields in some line and procfs parser just fails. If I remove replace the return nil, fmt.Errorf("not enough information for NFS stats: %v", ss) by continue, everything works as expected.
Thanks for any help.
The text was updated successfully, but these errors were encountered:
dohnto
changed the title
mountstats:
mountstats: not enough information for NFS stats
Jan 8, 2020
Host operating system: output of
uname -a
Linux hostname 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
node_exporter version: output of
node_exporter --version
node_exporter, version 0.15.2+ds (branch: debian/sid, revision: 0.15.2+ds-1)
build user: [email protected]
build date: 20171214-15:26:08
go version: go1.9.2
node_exporter command line flags
--collector.mountstats
Are you running node_exporter in Docker?
No
What did you do that produced an error?
Nothing special, just scrape node exporter
What did you expect to see?
Mountstats metrics
What did you see instead?
No mountstats metrics. In logs:
This is caused by following line, because my mountstats contain following line (sorry I had to obfuscate it, this is not real output, but it is multiline):
I believe, that this is caused, because there are no 2 fields in some line and procfs parser just fails. If I remove replace the
return nil, fmt.Errorf("not enough information for NFS stats: %v", ss)
bycontinue
, everything works as expected.Thanks for any help.
The text was updated successfully, but these errors were encountered: