We have some sensors (Disk Free, pagefile usage, memory, and CPU Load) that are giving the following in PRTG:

- Note: the OS version of the device could not be determined, WMI might not work reliably.

The target server is Windows Server 2008 Standard w/ SP2 32-bit.

PRTG Server is version : PRTG Network Monitor 8.4.1.2283 Operating System: Windows 7/2008 R2 (6.1.1 Build 7601 Service Pack 1), 8 CPUs

Interestingly enough, when looking at Control Panel -> System Properties on the target server, both Processor and Memory say "Not Available"

WMI was already restarted as well as the box itself - issue persists.


Article Comments

Hello,

this seems to be a major issue with the WMI on this particular target host. Please try if anything from our "WMI Repair List" does help.

best regards.


Aug, 2011 - Permalink

Following the WMI Repair List resolved my issue. I had to:

1) Reset WMI

winmgmt /resetrepository
winmgmt /resyncperf

2) Rebuild WMI by running the below code (.bat file) as admin"

net stop winmgmt
c:
cd %systemroot%\system32\wbem
rd /S /Q repository

regsvr32 /s %systemroot%\system32\scecli.dll
regsvr32 /s %systemroot%\system32\userenv.dll

mofcomp cimwin32.mof
mofcomp cimwin32.mfl
mofcomp rsop.mof
mofcomp rsop.mfl
for /f %%s in ('dir /b /s *.dll') do regsvr32 /s %%s
for /f %%s in ('dir /b *.mof') do mofcomp %%s
for /f %%s in ('dir /b *.mfl') do mofcomp %%s

3) Run lodctr /r to fix the remaining monitors in error

I conclude that WMI on the target host was completely corrupt. Thanks for the assistance!


Aug, 2011 - Permalink