WMI query not responding

Copper Contributor

Hello everyone,

I monitor VMs with a Monitoring tool that uses WMI query. 

There is one WMI query wich doesn't return values from the Windows server concerned by this issue.

  • The monitoring job is made from 4 WMI querys but only one doesn't work (I tested it via WBEMTEST).
  • The PID you can see in the query is correct

There is the query and the wbemtest status : 

 

select IDProcess,PercentProcessorTime,TimeStamp_Sys100NS,WorkingSet,IOReadOperationsPersec,IOWriteOperationsPersec from Win32_PerfRawData_PerfProc_Process where (IDProcess = 3036)

Gauthier_Pagezy_0-1704291585858.png

 

When I run this command : 


@echo off
sc config winmgmt start= disabled
net stop winmgmt /y
%systemdrive%
cd %windir%\system32\wbem
for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
wmiprvse /regserver
winmgmt /regserver
sc config winmgmt start= auto
net start winmgmt
for /f %%s in ('dir /s /b *.mof *.mfl') do mofcomp %%s

 

It solve the problem but for few minutes only.

Thank you in advance for your help. 

0 Replies