System Center 2012 Virtual Machine Manager Host Number Of VMs Running

Microsoft.SystemCenter.VirtualMachineManager.2012.HostNoOfVMsRunningMonitor (UnitMonitor)

Monitors whether the host has exceeded the supported maximum number of running virtual machines

Knowledge Base article:

Summary

This monitor tracks the number of virtual machines running on a Hyper-V host. The number of running machines has exceeded the configured maximum limit.

Causes

The number of running virtual machines on the host has exceeded configured maximum limit.

Resolutions

Migrate one or more virtual machines to a different virtualization host. For more information on requirements and limits for virtual machines and Hyper-V in Windows Server, see Microsoft TechNet.

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.VMHost
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.2012.HostNoOfVMsRunningMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Host has exceeded the configured maximum number of running VMs
The number running virtual machines has reached {1} on {0}, and the host has exceeded the configured maximum number
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2012.HostNoOfVMsRunningMonitor" Accessibility="Public" Target="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VMHost" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2012.HostNoOfVMsRunningMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2012.HostNoOfVMsRunningMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VMHost"]/NoOfVMsRunning$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="HostNoOfVMsRunningHealthy" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="HostNoOfVMsRunningCritical" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>7200</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<!--ExpectedValue is overridable-->
<!--The supported limit in Hyper-V R2 is 384(http://technet.microsoft.com/en-us/library/ee405267(WS.10).aspx)-->
<ExpectedValue>384</ExpectedValue>
</Configuration>
</UnitMonitor>