Buy Percona ServicesBuy Now!

invalid line for /proc/diskstats for sda

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • invalid line for /proc/diskstats for sda

    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

    [root@node004027 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
    [root@node004027 fanboshi]# cat /etc/redhat-release
    CentOS Linux release 7.6.1810 (Core)


    [root@node004027 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"

  • #2
    can anyone help?

    Comment


    • #3
      Hello again Fan...
      Let me find out from the PMM team if they need a JIRA ticket for this one...

      Comment


      • #4
        Originally posted by lorraine.pocklington View Post
        Hello again Fan...
        Let me find out from the PMM team if they need a JIRA ticket for this one...
        Thanks alot

        Comment


        • #5
          Hello Fan,

          Originally posted by Fan View Post
          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

          [root@node004027 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.

          Comment


          • #6
            Originally posted by adivinho View Post
            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

            Comment

            Working...
            X