System Center 2012 Virtual Machine Manager 雲端 CPUUsageCount

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

監視私人雲端 CPU 使用量

Knowledge Base article:

摘要

Cloud CPU Usage 監視會追蹤私人雲端的 CPU 使用量。 當 CPU 使用量接近定義的私人雲端容量時,此監視將會進入警告或重大狀態。

原因

雲端內的 CPU 使用量已接近定義的私人雲端容量。根據預設,當 CPU 使用量超過私人雲端容量的 90% 時,此監視將會進入重大狀態。此閾值可以覆寫。

解決方式

若要讓監視回復到狀況良好的狀態,您可以:

重新定義私人雲端容量限制

降低私人雲端內的 CPU 使用量

覆寫監視的重大閾值

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.PrivateCloud
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.2012.CloudUsageUnitMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
雲端 CPUUsageCount 已達到或超過閾值
私人雲端 CPU 使用量為 {0},其已達到或超過指定閾值 {1}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2012.CloudCPUUsageCountMonitor" Accessibility="Public" Target="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.PrivateCloud" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2012.CloudUsageUnitMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2012.CloudCPUUsageCountMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.PrivateCloud"]/VMMId$-CPUUsage']$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.PrivateCloud"]/VMMId$-CriticalThreshold']$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="CloudCPUUsageCountHealthy" MonitorTypeStateID="CloudUsageHealthy" HealthState="Success"/>
<OperationalState ID="CloudCPUUsageCountCritical" MonitorTypeStateID="CloudUsageCritical" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>1800</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<CriticalThreshold>90</CriticalThreshold>
<PropertyValue/>
<VMMId>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.PrivateCloud"]/VMMId$-CPUUsage</VMMId>
<VMMServer>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.PrivateCloud"]/VMMServer$</VMMServer>
</Configuration>
</UnitMonitor>