性能阈值: CCMExec CPU 使用率监视器

Microsoft.SystemCenter2012.ConfigurationManager.Perf_Threshold_CCMExec_CPU_Usage_Monitor (UnitMonitor)

此监视器通过 CCMExec 进程检查过多的 CPU 使用率。

Knowledge Base article:

摘要

管理点上的 SMS 代理主机服务的处理器使用率在三小时内增加到 95%。 如果不解决此问题或计算机上的活动数量不减少,这种情况的出现次数将会增加。 如果一直超出此阈值,性能可能会受到影响。

原因

处理器时间百分比可能会因为没有充足的处理能力来处理当前的 SMS 代理主机任务而超过阈值。

解决方法

要解决此问题,并降低处理器使用率百分比,请执行下列操作:

Element properties:

TargetMicrosoft.SystemCenter2012.ConfigurationManager.ManagementPoint
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Instance NameProcess
Counter Name\% Processor Time
Frequency900
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSystem.Performance.ConsecutiveSamplesThreshold
RemotableTrue
AccessibilityPublic
Alert Message
CCMExec CPU 使用率过高

实例 {0} 对象 {1} 计数器 {2} 在 {4} 时的值为 {3}
RunAsDefault
CommentSIV:GEN0218, CreatedByMyFriend at 10/15/2011 5:24:50 PM

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter2012.ConfigurationManager.Perf_Threshold_CCMExec_CPU_Usage_Monitor" Comment="SIV:GEN0218, CreatedByMyFriend at 10/15/2011 5:24:50 PM" Accessibility="Public" Enabled="onEssentialMonitoring" Target="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.ManagementPoint" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="SystemPerf!System.Performance.ConsecutiveSamplesThreshold" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter2012.ConfigurationManager.Perf_Threshold_CCMExec_CPU_Usage_Monitor_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/InstanceName$</AlertParameter1>
<AlertParameter2>$Data/Context/ObjectName$</AlertParameter2>
<AlertParameter3>$Data/Context/CounterName$</AlertParameter3>
<AlertParameter4>$Data/Context/SampleValue$</AlertParameter4>
<AlertParameter5>$Data/Context/TimeSampled$</AlertParameter5>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ConditionFalse" MonitorTypeStateID="ConditionFalse" HealthState="Success"/>
<OperationalState ID="ConditionTrue" MonitorTypeStateID="ConditionTrue" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>% Processor Time</CounterName>
<ObjectName>Process</ObjectName>
<InstanceName>CCMExec</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>900</Frequency>
<Threshold>95</Threshold>
<Direction>greater</Direction>
<NumSamples>12</NumSamples>
</Configuration>
</UnitMonitor>