Ad Widget

Collapse

zabbix 5.0.5 perf_counter cpu utilization

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • n3o
    Junior Member
    • Jun 2016
    • 27

    #1

    zabbix 5.0.5 perf_counter cpu utilization

    Hi all,

    It seems I am facing an issue getting wrong values using item "perf_counter[\Processor(_Total)\% Processor Time]" for CPU Utilization on Windows Server Virtual Machines (2012,2016,2019)

    See attached screennshots I have taken

    1) Zabbix Item
    2) Zabbix Graph
    3) Windows server VM that I am monitoring.

    As you can see there is a 30% difference from Zabbix Graph and the actual CPU utilization on the server,This happens on all of my Windows Server Virtual Machines.

    I am using zabbix agent 5.0.5 on the windows servers.

    What I have tried:
    1) Run LODCTR /R but I couldnt see any difference.
    2) used this item "system.cpu.util[,system,avg1]" but I again I get the same results.
    3) Switched to active agent but I again I get the same results.

    Can anyone please advise if there is a solution or a different way to pick up cpu utilization?

    Thank you
    Attached Files
  • n3o
    Junior Member
    • Jun 2016
    • 27

    #2
    Hi,

    I have added a new item "Windows CPU Utlization 2" see attached using key "system.cpu.util[,system,avg1]"

    But again I get different readings than the windows vm machine

    Can anyone help?
    Attached Files

    Comment

    • n3o
      Junior Member
      • Jun 2016
      • 27

      #3
      SOLVED!

      I used the below Item and its giving me the correct values as in windows task manager

      Windows Task Manager Corresponds to a different counter
      perf_counter[\Processor Information(_Total)\% Processor Utility]

      Apparently the Windows 8+ and Server 2012+ includes a performance monitor counter named "% Processor Utility". And this is the one, that is shown in the Task Manager of Win 8+, and Win Server 2012+ as CPU Utilization. This counter unlike "% Processor Time", which is usually used to display the CPU usage, takes into account the balanced CPU speed.

      % Processor Utility is the amount of work a processor is completing, as a percentage of the amount of work the processor could complete if it were running at its nominal performance and never idle. On some processors, Processor Utility may exceed 100%.

      Comment

      Working...