Not the answer you need?
Register and ask your own question!

invalid line for /proc/diskstats for sda

FanFan ContributorCurrent User Role Patron
I found some server could not get the disk performance information . I checked the load then see this error . Is it because my system kernel version is too high causing exporter not to support the new /proc/diskstats format?

pmm-server 1.13.0
pmm-client 1.17.0

[[email protected] fanboshi]# uname -a
Linux node004027 4.20.4-1.el7.elrepo.x86_64 #1 SMP Tue Jan 22 18:39:11 EST 2019 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] fanboshi]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)


[[email protected] fanboshi]# tail -f /var/log/pmm-linux-metrics-42000.log
time="2019-04-26T23:47:10+08:00" level=error msg="ERROR: diskstats collector failed after 0.001108s: invalid line for /proc/diskstats for sda" source="node_exporter.go:97"
time="2019-04-26T23:47:15+08:00" level=error msg="ERROR: diskstats collector failed after 0.000929s: invalid line for /proc/diskstats for sda" source="node_exporter.go:97"
time="2019-04-26T23:47:20+08:00" level=error msg="ERROR: diskstats collector failed after 0.001414s: invalid line for /proc/diskstats for sr0" source="node_exporter.go:97"
time="2019-04-26T23:47:25+08:00" level=error msg="ERROR: diskstats collector failed after 0.002659s: invalid line for /proc/diskstats for sda" source="node_exporter.go:97"
time="2019-04-26T23:47:30+08:00" level=error msg="ERROR: diskstats collector failed after 0.000443s: invalid line for /proc/diskstats for sr0" source="node_exporter.go:97"
2019/04/26 23:47:32 http: TLS handshake error from 192.168.4.27:30570: tls: first record does not look like a TLS handshake
2019/04/26 23:47:32 http: TLS handshake error from 192.168.4.27:30572: tls: first record does not look like a TLS handshake
time="2019-04-26T23:47:35+08:00" level=error msg="ERROR: diskstats collector failed after 0.000193s: invalid line for /proc/diskstats for sdb" source="node_exporter.go:97"
time="2019-04-26T23:47:40+08:00" level=error msg="ERROR: diskstats collector failed after 0.000191s: invalid line for /proc/diskstats for sda" source="node_exporter.go:97"
time="2019-04-26T23:47:45+08:00" level=error msg="ERROR: diskstats collector failed after 0.000685s: invalid line for /proc/diskstats for sda" source="node_exporter.go:97"
time="2019-04-26T23:47:51+08:00" level=error msg="ERROR: diskstats collector failed after 0.000318s: invalid line for /proc/diskstats for sdb" source="node_exporter.go:97"
time="2019-04-26T23:47:55+08:00" level=error msg="ERROR: diskstats collector failed after 0.001367s: invalid line for /proc/diskstats for sr0" source="node_exporter.go:97"
time="2019-04-26T23:48:00+08:00" level=error msg="ERROR: diskstats collector failed after 0.000331s: invalid line for /proc/diskstats for sr0" source="node_exporter.go:97"
time="2019-04-26T23:48:05+08:00" level=error msg="ERROR: diskstats collector failed after 0.000709s: invalid line for /proc/diskstats for sdb" source="node_exporter.go:97"
time="2019-04-26T23:48:10+08:00" level=error msg="ERROR: diskstats collector failed after 0.001092s: invalid line for /proc/diskstats for sda" source="node_exporter.go:97"
time="2019-04-26T23:48:15+08:00" level=error msg="ERROR: diskstats collector failed after 0.000758s: invalid line for /proc/diskstats for sdb" source="node_exporter.go:97"
time="2019-04-26T23:48:20+08:00" level=error msg="ERROR: diskstats collector failed after 0.000793s: invalid line for /proc/diskstats for sdb" source="node_exporter.go:97"
time="2019-04-26T23:48:25+08:00" level=error msg="ERROR: diskstats collector failed after 0.002234s: invalid line for /proc/diskstats for sda" source="node_exporter.go:97"
time="2019-04-26T23:48:30+08:00" level=error msg="ERROR: diskstats collector failed after 0.000508s: invalid line for /proc/diskstats for sr0" source="node_exporter.go:97"
time="2019-04-26T23:48:35+08:00" level=error msg="ERROR: diskstats collector failed after 0.000851s: invalid line for /proc/diskstats for sdb" source="node_exporter.go:97"

Comments

  • FanFan Contributor Current User Role Patron
    can anyone help?
  • lorraine.pocklingtonlorraine.pocklington Percona Community Manager Legacy User Role Patron
    Hello again Fan...
    Let me find out from the PMM team if they need a JIRA ticket for this one...
  • FanFan Contributor Current User Role Patron
    Hello again Fan...
    Let me find out from the PMM team if they need a JIRA ticket for this one...

    Thanks alot
  • adivinhoadivinho Percona Percona Staff Role
    Hello Fan,
    Fan wrote: »
    I found some server could not get the disk performance information . I checked the load then see this error . Is it because my system kernel version is too high causing exporter not to support the new /proc/diskstats format?

    pmm-server 1.13.0
    pmm-client 1.17.0

    [[email protected] fanboshi]# uname -a
    Linux node004027 4.20.4-1.el7.elrepo.x86_64 #1 SMP Tue Jan 22 18:39:11 EST 2019 x86_64 x86_64 x86_64 GNU/Linux

    pmm-client 1.17.0 is using node_exporter that can't handle changes in the /proc/diskstats format.
    The exporter has been updated in pmm2-client.
  • FanFan Contributor Current User Role Patron
    adivinho wrote: »
    Hello Fan,



    pmm-client 1.17.0 is using node_exporter that can't handle changes in the /proc/diskstats format.
    The exporter has been updated in pmm2-client.

    Thank you @adivinho
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.