Hello PRTG,

The sensor "Host Hyper-V" return the following error : Class(es) not found : "Win32_PerfRawData_HvStats_HyperVHypervisorRootPartition" (code : PE235)

Servers : Windows server 2016 Standard with Hyper-V Role (3 servers) Windows Update : Up to date PRTG version : 18.2.41.1652+ All other sensors : Working like a charm

Many thanks in advance for your help


Article Comments

Hi there,

Sounds like that the operating system of the target Hypervisor did not register the class properly.

Can you use the WMI Tester against that host and execute this query?

SELECT
    Name, DepositedPages
FROM
    win32_perfrawdata_hvstats_hypervhypervisorrootpartition
WHERE
    Name = '_Total'

If the target Windows device still does not respond, this guide can help you to repair the target's WMI system.

Best regards, Felix


Jun, 2018 - Permalink

Hello,

I have the same problem in Windows 2016.

The class win32_perfrawdata_hvstats_hypervhypervisorrootpartition is not present in Windows 2016.

The command Get-WmiObject -List | Where Name -Match HvStats | Select Name not return win32_perfrawdata_hvstats_hypervhypervisorrootpartition

I think the class has been renamed to Win32_PerfFormattedData_HvStats_HyperVHypervisorPartition

Romain.


Dec, 2018 - Permalink

Hello Romain,

Could you please perform these two queries using the WMI Tester and provide the results?

SELECT
    Name, DepositedPages
FROM
    win32_perfrawdata_hvstats_hypervhypervisorrootpartition
WHERE
    Name = '_Total'
SELECT
    Name, DepositedPages
FROM
    Win32_PerfFormattedData_HvStats_HyperVHypervisorPartition
WHERE
    Name = '_Total'

Kind regards,
Felix Saure, Tech Support Team


Dec, 2018 - Permalink

Hello,

I do not want to highjack this thread, but I have the same problem as Romain described. I have tried the two mentionned WMI queries on Windows 2016 Standard setup as an Hyper-V server and the first returns and error. The second returns the Total result.

How do we get past that?

thanks


Aug, 2019 - Permalink

Hi there,

No worries. Can you please forward the results in a text file to support@paessler.com? Kindly refer to this KB entry in your mail. Thanks in advance!


Kind regards,
Felix Saure, Tech Support Team


Aug, 2019 - Permalink

Hello, we are experiencing the exact same problem with the exact same error message (also on Windows server 2016 Standard) did you have an answer yet about this issue ? Thanks


Mar, 2020 - Permalink

Hi there,

The WMI classes needed to be recreated as the Hypervisor specific classes did not exist. Therefore, you can perform the steps described in this WMI Repair Guide. If it still does not work, you can send the WMI Tester Results listed above to support@paessler.com.


Kind regards,
Felix Saure, Tech Support Team


Mar, 2020 - Permalink