Versions Compared

Key

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


Table of Contents

...

Info

In some Windows Systems, the Service "Processor Queue" might

...

vanish, and the "Processor Queue" goes UNKN. In this case, we will give you a short guidance

...

Code Block

.

Status
colourGreen
titleLAST TESTED ON CHECKMK 2.3.0P1


Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents

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

Open the Windows agent's log file and see if you find this:

Code Block
languagebash
themeRDark
2021-08-03 17:15:35.063 [Err  ] Timeout [3] seconds broken  when query WMI
...
...
...
2021-08-03 15:02:44.435 [Warn ] Object 'Win32_PerfRawData_PerfOS_System' in 4ms sends NO DATA
2021-08-03 15:02:44.436 [Warn ] Sub Section 'system_perf' has no data to provide, status = [2]


Note

You will need powershell PowerShell to run the following commands!

Which counter does wmi_cpuload use? 

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

root@klappanas
Code Block
languagebash
themeRDark
root@mylinuxhost:/# grep -A5 "CPULOAD" /home/anastasiosmylinuxuser/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 ?

...

Microsoft win32 Documentation

Code Block
languagebash
themeRDark
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
languagebash
themeRDark
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 *}

...

...

https://docs.microsoft.com/de-de/windows/win32/cimwin32prov/win32-computersystem

Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "windows_agent","counter" , "windows_agent" , "wmiperformance" ) and type = "page" and space = "KB"
labelswmi counter windows windows_agentsecurity

Page Properties
hiddentrue


Related issues


...