Ad Widget

Collapse

Wrong CPU load information

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SpecialK
    Junior Member
    • Jan 2013
    • 6

    #1

    Wrong CPU load information

    In our CPU load graphs, Zabbix is printing completely wrong information. For one of our servers, the load is a constant 3 aside from occasional peaks to 5. But the graph for this server always shows a CPU load of .5 with occasional peaks to .7.

    This is happening on all of our systems (All of which are multi CPU, if that makes any difference)

    Am I just misinterpreting the graph or is something weird going on?
  • jix
    Member
    • Feb 2011
    • 73

    #2
    j

    same problem here

    my server load with top command says 1.59
    but zabbix graph shows under 0.1

    Comment

    • SpecialK
      Junior Member
      • Jan 2013
      • 6

      #3
      I think I may have figured this out, though it makes no sense to me.

      We have 8 CPUs in a particular system. If the load is 2.54 via top, that is 31.75% utilization. The Zabbix graph shows .3175 during this period. I think that is the correlation, but I don't care for it at all.

      Is there any way to change this graph to show the actual load via top? Or at the very least to show 31.75% instead of .3175?

      Comment

      • tchjts1
        Senior Member
        • May 2008
        • 1605

        #4
        Revising...

        Mine appears to be fairly accurate.
        From TOP:
        top - 11:23:53 up 149 days, 1 min, 1 user, load average: 0.61, 0.69, 0.63
        Attached Files
        Last edited by tchjts1; 14-02-2014, 21:25.

        Comment

        • SpecialK
          Junior Member
          • Jan 2013
          • 6

          #5
          load average: 2.48, 2.42, 2.33
          Cpu(s): 28.1%us, 2.2%sy, 0.0%ni, 68.9%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%st
          And the graph that we're using in Zabbix was set up automatically by Zabbix from the autodiscovery and is called "CPU Load".

          I would expect the "load average" and the "CPU Load" graph to match up.

          Comment

          • tchjts1
            Senior Member
            • May 2008
            • 1605

            #6
            I attribute the differences between TOP showing actual values, whereas Zabbix is doing averages per core. I figure they are close enough.

            Anyway, if you look at the item on one of your hosts, you will see in the description how it is calculating.

            "The processor load is calculated as system CPU load divided by number of CPU cores."

            Comment

            • SpecialK
              Junior Member
              • Jan 2013
              • 6

              #7
              Ah - I hadn't seen that before. So my conclusion was correct. So on that graph, a 'load' of 1 basically indicates 100% CPU utilization (Top load of 8 / 8 cores = 1)

              It seems odd, but I guess we can deal with it.

              Comment

              Working...