System Center 2019+ Virtual Machine Manager Host Number Of VMs Running

Microsoft.SystemCenter.VirtualMachineManager.HostNoOfVMsRunningMonitor (UnitMonitor)

監視主機是否已超過支援的執行中虛擬機器數目上限

Knowledge Base article:

摘要

此監視會追蹤 Hyper-V 主機上執行的虛擬機器數目。執行中的機器數目已超過設定的上限。

原因

主機上的執行中虛擬機器數目已超過設定的上限。

解決方式

將一或多部虛擬機器移轉至另一部虛擬化主機。如需 Windows Server 中虛擬機器與 Hyper-V 需求及限制的詳細資訊,請參閱 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.HostNoOfVMsRunningMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
主機已超過設定的執行中 VM 數目上限
{0} 上執行中的虛擬機器數目已達到 {1} 部,超過設定的數目上限
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.HostNoOfVMsRunningMonitor" Accessibility="Public" Target="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VMHost" TypeID="Microsoft.SystemCenter.VirtualMachineManager.HostNoOfVMsRunningMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.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>