...
Status |
---|
colour | Green |
---|
title | LAST TESTED ON CHECKMK 2.13.0P1 |
---|
|
Panel |
---|
borderColor | black |
---|
bgColor | #f8f8f8 |
---|
title | 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 |
---|
|
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! |
You will find the source code of the Windows Agent in our Git HubGitHub. There you will find all the System and Performance counters. For wmi_cpuload, we need the following counters:
...
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 |
---|
|
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 *} |
...
- Increase the wmi timeout as described here: Increase How-to increase WMI timeout
- Reboot the system
WMI Database is
broken → Use broken → Use the WMI Explorer for further debugging
You can try these commands, but be careful
https://pitstop.manageengine.com/portal/en/kb/articles/rebuilding-wmi-
Rebuilding WMI repository
Code Block |
---|
|
winmgmt /clearadap
winmgmt /resyncperf |
Panel |
---|
borderColor | black |
---|
bgColor | #F8F8F8 |
---|
|
Required tools:
|
https://github.com/vinaypamnani/wmie2/releases/download/v2.0.0.2/WmiExplorer_.zip
https://windows10gadgets.pro/phpdata/gdownload.php?n=exctrlst
https://docs.microsoft.com/de-de/windows/win32/cimwin32prov/win32-computersystem
title | Additional Information |
---|
|
|
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | KB |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ( "windows" , "windows_agent" , "performance" ) and type = "page" and space = "KB" |
---|
labels | security |
---|
|
...