Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Processor Queue UNKN - Missing information from agent: 'system_perf'

In some Windows Systems the Service "Processor Queue" might go and stay critical. In this case we will give you a short guidance: 


Note

You will need powershell to run the following commands!

Which counter does wmi_cpuload use? 

You will find the source code of the Windows Agent in our github. There you will find all the System and Performance counters. For wmi_cpuload we need the following counters:

Code Block
root@klappanas:/# grep -A5 "CPULOAD" /home/anastasios/git/check_mk/agents/wnx/src/engine/providers/wmi.cpp
// WMI CPULOAD group
{"system_perf", //
{kWmiPathStd, L"Win32_PerfRawData_PerfOS_System"}},

{"computer_system", //
{kWmiPathStd, L"Win32_ComputerSystem"}},


Now you can run both commands. What's the output? Do you see all the data like described here: https://docs.microsoft.com/de-de/windows/win32/cimwin32prov/win32-computersystem ?

Code Block
Get-WmiObject -class Win32_PerfRawData_PerfOS_System -computername  WIN-MOP95J96UQA -namespace   root\cimv2 |Format-List *

Get-WmiObject -class Win32_ComputerSystem | Format-List *


How long does the query run? You can use the measurement command for this

Code Block
Measure-Command {Get-WmiObject -class Win32_PerfRawData_PerfOS_System -computername WIN-MOP95J96UQA -namespace root\cimv2 |Format-List *}
Measure-Command {Get-WmiObject -class Win32_ComputerSystem | Format-List *}

...