效能閾值: SMSExec CPU 使用量監視

Microsoft.SystemCenter2012.ConfigurationManager.Perf_Threshold_SMSExec_CPU_Usage_Monitor (UnitMonitor)

此監視會檢查 SMSExec 處理程序的 CPU 使用量是否過量。

Knowledge Base article:

摘要

SMS Executive 服務的處理器使用率已有持續三個多小時增加到超過 95%。 除非獲得解決或電腦上的活動量減少,否則這個狀況會愈來愈嚴重。 如果一直超出這個閾值,效能將會降低。

原因

處理器時間百分比超過閾值可能是因為處理容量不足,無法應付目前的負載。

解決方式

若要解決此問題並減少處理器使用率百分比:

其他

如果這項警示產生太多誤判,您可以修改規則內容的閾值索引標籤,以指定更適合您的環境的值。

處理器時間百分比是這個處理程序的所有執行緒使用處理器執行指令所經過時間的百分比。 指令是電腦中的基本執行單位;執行緒是執行指令的物件;處理程序是程式執行時所建立的物件。 這個計數也包含用於處理部分硬體中斷以及設陷條件而執行的程式碼。 在多處理器電腦上,此計數器的最大值是 100% 乘以處理器數目。

Element properties:

TargetMicrosoft.SystemCenter2012.ConfigurationManager.SiteServerRoleBaseClass
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
SMSExec CPU 使用量過高

執行個體 {0} 物件 {1} 計數器 {2} 具有值 {3} 的時間為 {4}
RunAsDefault
CommentSIV:GEN0216, CreatedByMyFriend at 10/15/2011 5:24:48 PM

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter2012.ConfigurationManager.Perf_Threshold_SMSExec_CPU_Usage_Monitor" Comment="SIV:GEN0216, CreatedByMyFriend at 10/15/2011 5:24:48 PM" Accessibility="Public" Enabled="onEssentialMonitoring" Target="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.SiteServerRoleBaseClass" 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_SMSExec_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/Value$</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>SMSExec</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>900</Frequency>
<Threshold>95</Threshold>
<Direction>greater</Direction>
<NumSamples>12</NumSamples>
</Configuration>
</UnitMonitor>