Virtual Machine Management Service

Microsoft.Windows.HyperV.2016.Services.VirtualMachineManagementServiceMonitor (UnitMonitor)

Monitors the state of Virtual Machine Management Service.

Knowledge Base article:

Summary

This monitor tracks the health state of the Virtual Machine Management Service on the server running Hyper-V. When the service is up and running, the state of the monitor is healthy. When the service is not running, the state of the monitor is critical.

Causes

Critical state occurs when the Virtual Machine Management Service is not running. An alert is raised when this monitor goes into an unhealthy state.

Resolutions

The monitor runs an automatic recovery when it goes into an unhealthy state. The recovery attempts to restart the Virtual Machine Management Service. If it is able to bring the service back up, the monitor returns to healthy state, and the alert is auto-resolved. If the recovery is not able to bring the service back up, the monitor remains in critical state, and the alert remains unresolved.

Element properties:

TargetMicrosoft.Windows.HyperV.2016.ServerRole
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Hyper-V 2016 Virtual Machine Management Service is not running
The Microsoft Windows Hyper-V 2016 Virtual Machine Management Service on the computer {0} is not running. It will prevent Virtual Machines from starting.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.HyperV.2016.Services.VirtualMachineManagementServiceMonitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="HVDisc!Microsoft.Windows.HyperV.2016.ServerRole" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.HyperV.2016.Services.VirtualMachineManagementServiceMonitor.Alert">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ServiceHealthy" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="ServiceNotHealthy" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>vmms</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>