PRO CPU 使用率

ProHostVSCPUUnitMonitor (UnitMonitor)

Virtual Server 主機的處理器時間百分比閾值監視器

Knowledge Base article:

Summary

此監視器會追蹤主機的 CPU 效能。CPU 使用量已經超過閾值。

Causes

主機上執行的虛擬機器正在耗用主機大量的 CPU 資源。

Resolutions

若要釋出 CPU 資源,可以將虛擬機器移轉至另一部主機。若要讓 Virtual Machine Manager 移轉虛擬機器,請按一下 [實作]。如果選擇讓 VMM 自動移轉您的虛擬機器,VMM 會使用「智慧型放置」來為叢集中的虛擬機器判斷最合適的目的地。如需自動化效能與資源最佳化 (PRO) 的資訊,請參閱 Virtual Machine Manager 2008 R2 說明。

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.Pro.2008.ManagedHost.VirtualServer
Parent MonitorSystem.Health.PerformanceState
CategoryCustom
EnabledFalse
Instance NameProcessor
Counter Name\% Processor Time
Frequency60
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSystem.Performance.ConsecutiveSamplesThreshold
RemotableTrue
AccessibilityPublic
Alert Message
PRO CPU 使用率
主機的 CPU 使用率已到達嚴重層級。處理器時間百分比監視器已偵測到 CPU 使用率超過閾值(目前閾值為 {0}\%)。
RunAsDefault

Source Code:

<UnitMonitor ID="ProHostVSCPUUnitMonitor" Accessibility="Public" Enabled="false" Target="VMMProLibrary!Microsoft.SystemCenter.VirtualMachineManager.Pro.2008.ManagedHost.VirtualServer" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Performance!System.Performance.ConsecutiveSamplesThreshold" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="ProHostCPUUnitMonitor_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="VMMProLibrary!Microsoft.SystemCenter.VirtualMachineManager.Pro.2008.ManagedHost"]/CPUThreshold$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ProHostCPUUnitMonitor_StateSuccess" MonitorTypeStateID="ConditionFalse" HealthState="Success"/>
<OperationalState ID="ProHostCPUUnitMonitor_StateError" MonitorTypeStateID="ConditionTrue" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>% Processor Time</CounterName>
<ObjectName>Processor</ObjectName>
<InstanceName/>
<AllInstances>true</AllInstances>
<Frequency>60</Frequency>
<Threshold>$Target/Property[Type="VMMProLibrary!Microsoft.SystemCenter.VirtualMachineManager.Pro.2008.ManagedHost"]/CPUThreshold$</Threshold>
<Direction>greater</Direction>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>