监视虚拟机层成员计数是否在指定的范围内
虚拟机层成员计数监视器确定服务的虚拟机层的当前实例计数是否在其配置的最小和最大实例计数之外。
如果计算机层的当前实例计数低于定义的最小实例计数,或者高于定义的最大实例计数,则监视器将进入不正常状态。
如果虚拟机层低于其规定的实例计数,请使用 VMM 扩大功能向虚拟机层中添加一个或多个实例以达到定义的最小实例计数,或者重新定义虚拟机层以反映不同的最小和最大实例定义。
如果虚拟机层高于其规定的实例计数,请从虚拟机层中删除一个或多个实例以达到定义的最大实例计数,或者重新定义虚拟机层以反映不同的最小和最大实例定义。
Target | Microsoft.SystemCenter.VirtualMachineManager.2012.ComputerTier | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SystemCenter.VirtualMachineManager.2012.CheckValueWithinRangeMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2012.TierMemberCountMonitor" Accessibility="Public" Target="VMM2012Discovery!Microsoft.SystemCenter.VirtualMachineManager.2012.ComputerTier" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2012.CheckValueWithinRangeMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2012.TierMemberCountMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.ComputerTier"]/CurrentMachineCount$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.ComputerTier"]/MinMachineCount$</AlertParameter2>
<AlertParameter3>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.ComputerTier"]/MaxMachineCount$</AlertParameter3>
<AlertParameter4>$Target/Host/Property[Type="System!System.Entity"]/DisplayName$</AlertParameter4>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="TierMemberCountHealthy" MonitorTypeStateID="ValueWithinRangeHealthy" HealthState="Success"/>
<OperationalState ID="TierMemberCountCritical" MonitorTypeStateID="ValueWithinRangeCritical" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<MinValue>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.ComputerTier"]/MinMachineCount$</MinValue>
<MaxValue>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.ComputerTier"]/MaxMachineCount$</MaxValue>
<CurrentValue>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.ComputerTier"]/CurrentMachineCount$</CurrentValue>
</Configuration>
</UnitMonitor>