Ad Widget

Collapse

CPU graph total is not 100% since Zabbix Agent upgrade to version 3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DamienGombaultRecia
    Junior Member
    • Mar 2016
    • 4

    #1

    CPU graph total is not 100% since Zabbix Agent upgrade to version 3

    Hi.

    I have recently updated Zabbix Agent version 3.0 on a physical server.
    I have noticed since the update (at 03/02 ~6h PM), the sum of the CPU stats are not 100 % on graph :


    What do you think about this ?
    Is it a 3.0 agent bug ?
  • DamienGombaultRecia
    Junior Member
    • Mar 2016
    • 4

    #2
    Hi.

    Does anybody have notice this problem ?
    Should I report the bug ?

    Comment

    • jrcarlsen
      Junior Member
      • Sep 2016
      • 1

      #3
      I can confirm this issue.



      Server is running CentOS 7 with the following Zabbix packages:
      zabbix-release-3.0-1.el7.noarch
      zabbix-server-mysql-3.0.4-1.el7.x86_64
      zabbix-web-3.0.4-1.el7.noarch
      zabbix-web-mysql-3.0.4-1.el7.noarch
      zabbix-agent-3.0.4-1.el7.x86_64

      Client is running CentOS 7 with the following Zabbix packages:
      zabbix-release-3.0-1.el7.noarch
      zabbix-agent-3.0.4-1.el7.x86_64

      Comment

      • DamienGombaultRecia
        Junior Member
        • Mar 2016
        • 4

        #4
        Thank you for your message.
        I have created this report : https://support.zabbix.com/browse/ZBX-11174

        Comment

        • Semiadmin
          Senior Member
          • Oct 2014
          • 1625

          #5
          Hi! Are you sure that this sum must be 100%?
          This data don't receive at the same time, in my case - to 8 s between idle time and user time. During 8 s values may change.

          Comment

          • DamienGombaultRecia
            Junior Member
            • Mar 2016
            • 4

            #6
            system.cpu.util is an average for 1 minute (default, could be 5 ou 15), I think the average CPU total usage should be 100%.
            It was 100% with agent version 2.

            To be consistent, I think if you add all the available values (idle, nice, user, system, iowait, interrupt, softirq, steal, guest, guest_nice), you should get 100% (tools like mpstat give 100%).
            With this method, you can get a really complete stacked graph.

            Currently, something is wrong, I think idle time is not correctly computed (details in bug report).
            guest time is also included in user time (same thing I think with guest_nice and nice) and I think it should not.
            Last edited by DamienGombaultRecia; 08-09-2016, 19:57.

            Comment

            Working...