Ad Widget

Collapse

CPU load incorrect

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Halloween_BE
    Junior Member
    • Oct 2019
    • 26

    #1

    CPU load incorrect

    Hello,I'm using Zabbix 4.4.10 to collect CPU load on a Windows 2019 server running HyperV.
    I have a VM using all 40 CPUs from my server quite a lot.
    Windows shows a CPU utilization between 70% and 90% all the time but Zabbix agent is only saying less than 1%... why ?
    Thanks for your help.

    Click image for larger version

Name:	2020-09-08 04_31_25-Window.png
Views:	4801
Size:	25.3 KB
ID:	408674
    Click image for larger version

Name:	2020-09-08 04_32_52-Window.png
Views:	4557
Size:	31.5 KB
ID:	408675



  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    CPU ulilization and load average are different things. If you want to see the same value as the CPU Utilization in Task Manager, create an item using system.cpu.util[] and compare.

    Comment

    • Halloween_BE
      Junior Member
      • Oct 2019
      • 26

      #3
      Sorry you are right I copy the wrong picture... it's Cpu usage that is around 1% all the time

      Click image for larger version

Name:	2020-09-08 05_13_01-Window.png
Views:	4171
Size:	30.1 KB
ID:	408678

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        How do you set it as the item key? If you used system.cpu.util[] on Windows, you only know the system utilization.
        For overall system load, you need to get a value from a performance counter.

        ex.
        perf_counter[\Processor(_Total)\%Processor Time]

        Comment

        • Halloween_BE
          Junior Member
          • Oct 2019
          • 26

          #5
          Hello, I'm using the template for Windows OS.
          The key is : system.cpu.util[all,system,avg1]
          Regards

          Comment

        • Halloween_BE
          Junior Member
          • Oct 2019
          • 26

          #6
          Thanks for this clear answer.
          How do you suggest to have all CPU usage then? SNMP?
          Regards

          Comment


          • Atsushi
            Atsushi commented
            Editing a comment
            Try the method of getting the value from the performance counter above.
        • Halloween_BE
          Junior Member
          • Oct 2019
          • 26

          #7
          Atsushi, I di what you said and I added the counter:

          Click image for larger version

Name:	2020-09-14 11_28_08-OPNS Zabbix Server_ Configuration of items.png
Views:	4169
Size:	4.6 KB
ID:	409034

          But even with my server at 90% in Windows, the perf_counter is still showing wrong info:

          Click image for larger version

Name:	2020-09-14 11_30_22-OPNS Zabbix Server_ Latest data.png
Views:	4013
Size:	2.4 KB
ID:	409035

          Why?

          Comment

          • DouglasSkywallker
            Junior Member
            • Oct 2023
            • 1

            #8
            Hello,


            My dears,has anyone resolve this divergence in TaskManager's % CPU usage with the item collected by "system.cpu.util" ?​
            Attached Files

            Comment

            Working...