Monitoring Windows Hyper-V
Use Windows Service to monitor Hyper-V service.
Use WMI performance counters to measure and monitor various Hyper-V parameters.
Windows Service
| Service Name: vmms |
Management service for Hyper-V, provides service to run multiple virtual machines. |
WMI
Class: Win32_PerfFormattedData_
VmmsVirtualMachineStats_
HyperVVirtualMachineSummary
Property: Running |
Shows the number of virtual machines running. |
Class: Win32_PerfFormattedData_
VmmsVirtualMachineStats_
HyperVVirtualMachineHealthSummary
Property: HealthOK |
Shows the number of virtual machines with good health, i.e. The VM is fully functional and is operating within normal operational parameters and without error. |
Class: Win32_PerfFormattedData_
VmmsVirtualMachineStats_
HyperVVirtualMachineHealthSummary
Property: HealthCritical |
Shows the number of virtual machines with critical health, i.e. The element is nonfunctional, and recovery might not be possible. This can indicate that the worker process for the VM is not responding to control or information requests, or that one or more disks containing the VHDs for the VM are low on disk space. |
Reference