This rule generates an alert when the percentage of processor time is too high.
This rule generates an alert when processor time consumption by specific process is too high.
Note: If the threshold for this rule differs from the corresponding threshold for the "Process Monitoring: Health State Collection" rule, it may lead to inconsistency between alerts and process health states.
To avoid generating excessive alerts, a minimal threshold for the rule was implemented. The default value for minimal threshold is 7%. The threshold can be changed to any value via the overrides for the rule in the Operations Manager console, but if it is changed to a value lower than 7%, then the effective threshold will be 7% by default.
A user can change the minimal threshold by creating MinimalPercentProcessorTimeThreshold registry DWORD (32-bit) value on the appropriate agent and under the appropriate key. The effective threshold will be equal to maximum of two values: the default/overridden threshold via the Operations Manager console and the minimal threshold set in the registry.
The following registry key is used for the minimal threshold:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\Modules\Global\BaseOSProcessMonitoring
Target | Microsoft.Windows.Server.10.0.ProcessMonitoring.ProcessSeed |
Category | Custom |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.Server.10.0.Process.PercentProcessorTimeAlerting.DataSource | Microsoft.Windows.Server.10.0.RunAs.CollectionRules |
GenerateAlert | WriteAction | Microsoft.Windows.Server.10.0.GenerateAlertWriteAction | Default |
WA | WriteAction | Microsoft.Windows.Server.10.0.CloseAlertWriteAction | Default |
<Rule ID="Microsoft.Windows.Server.10.0.ProcessPercentProcessorTime.Alert" Target="Microsoft.Windows.Server.10.0.ProcessMonitoring.ProcessSeed" Enabled="true" Remotable="true" Priority="Normal" DiscardLevel="100" ConfirmDelivery="false">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.10.0.Process.PercentProcessorTimeAlerting.DataSource" RunAs="Microsoft.Windows.Server.10.0.RunAs.CollectionRules">
<MonitoringConfiguration>$Target/Property[Type="WindowsServer!Microsoft.Windows.Server.ProcessSeed"]/ThresholdsByProcess$</MonitoringConfiguration>
<IntervalSeconds>73</IntervalSeconds>
<SampleCount>6</SampleCount>
<PercentProcessorTimeThreshold>50</PercentProcessorTimeThreshold>
<LogLevel>4</LogLevel>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Microsoft.Windows.Server.10.0.GenerateAlertWriteAction">
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.10.0.ProcessPercentProcessorTime.Alert.AlertMessage"]$</AlertMessageId>
<Threshold>$Data/PercentProcessorTimeThreshold$</Threshold>
<Metric>IsPercentProcessorTimeTooHigh</Metric>
</WriteAction>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.10.0.CloseAlertWriteAction" Target="SCDW!Microsoft.SystemCenter.DataWarehouseConnectorServer">
<TimeoutSeconds>300</TimeoutSeconds>
<RuleId>$MPElement[Name="Microsoft.Windows.Server.10.0.ProcessPercentProcessorTime.Alert"]$</RuleId>
<Metric>IsPercentProcessorTimeTooHigh</Metric>
</WriteAction>
</WriteActions>
</Rule>