node exporter fails on random diskstats

52 views
Skip to first unread message

Mario Pranjic

unread,
Oct 22, 2020, 1:47:16 PM10/22/20
to Prometheus Users

Hi,

OS: Ubuntu 18.04.5cLTS (latest updates)

node exporter from Ubuntu repository:
ii  prometheus-node-exporter              0.15.2+ds-1                                 amd64        Prometheus exporter for machine metrics

On every read of node-exporter metrics I see random disk device fails to be read:
level=error msg="ERROR: diskstats collector failed after 0.000212s: invalid line for /proc/diskstats for sda15" source="collector.go:123"
evel=error msg="ERROR: diskstats collector failed after 0.000379s: invalid line for /proc/diskstats for loop0" source="collector.go:123"

... And so on.

Is there some particular reason for this to happen with default install?
Any fix/workaround?

Thanks in advance!

Best regards,

--
Mario Pranjic

signature.asc

Brian Candler

unread,
Oct 23, 2020, 7:11:39 AM10/23/20
to Prometheus Users

I think your version of node_exporter is too old. 0.15.2 was released 5 Dec 2017; the fix is from 30 Oct 2018.

Mario Pranjic

unread,
Oct 23, 2020, 11:59:17 AM10/23/20
to promethe...@googlegroups.com
Thanks, Brian!

I will check the latest stable version.

Best regards,

Mario.

signature.asc
Reply all
Reply to author
Forward
0 new messages