...
Info |
---|
Code Block |
---|
Get-WmiObject -class Win32_PerfRawData_PerfOS_System -namespace root\cimv2 |Format-List *
|
Code Block |
---|
Get-WmiObject -class Win32_PerfRawData_PerfOS_System -namespace root\cimv2 |Format-List ProcessorQueueLength |
|
Solution
tbdCheckmk is caching these values with the corresponding timestamp. In this case, the new timestamp has a smaller value than the new one. That's why Checkmk is presenting always the old/constant values. We suspect that this because of the core modification. It looks like Windows is resesting some system counters. To solve this, you need to remove the cached counter file:
Panel |
---|
|
tbd- tbd
- tbd
Stop the site Code Block |
---|
omd stop <SITENAME> |
As Site user you should find this file: ~/tmp/check_mk/counters/<HOSTNAME>. In this file, you need to delete the following section: Code Block |
---|
('wmi_cpuload', None, 'load_5min'): (29632775.478311848, 18.056825022850912), ('wmi_cpuload', None, 'load_15min'): (29632775.478311848, 15.787631011576273), |
Attached, you will find a screenshot with the marked section: Info |
---|
Image Added |
- Start the site
Code Block |
---|
omd start <SITENAME> |
|
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_agent","windows","counter","wmi") and type = "page" and space = "KB" |
---|
labels | windows windows_agent counter wmi |
---|
|
...