Process Monitoring: Health State Collection

Microsoft.Windows.Server.10.0.Process.HealthState.Collection (Rule)

This rule collects information about the health state of the processes.

Knowledge Base article:

Summary

This rule collects information about health state of the processes.

Note: The thresholds for this rule should be overridden carefully; if the thresholds differ from those set for the alert rules, it may lead to inconsistency between alerts and process health states.

Element properties:

TargetMicrosoft.Windows.Server.10.0.ProcessMonitoring.ProcessSeed
CategoryCustom
EnabledTrue
Alert GenerateFalse
RemotableFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.10.0.Process.HealthState.Collection.DataSource Microsoft.Windows.Server.10.0.RunAs.CollectionRules
WA WriteAction Microsoft.Windows.Server.10.0.Process.HealthStatePublish.WriteAction Default

Source Code:

<Rule ID="Microsoft.Windows.Server.10.0.Process.HealthState.Collection" Target="Microsoft.Windows.Server.10.0.ProcessMonitoring.ProcessSeed" Enabled="true" Remotable="false" ConfirmDelivery="true">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.10.0.Process.HealthState.Collection.DataSource" RunAs="Microsoft.Windows.Server.10.0.RunAs.CollectionRules">
<MonitoringConfiguration>$Target/Property[Type="WindowsServer!Microsoft.Windows.Server.ProcessSeed"]/ThresholdsByProcess$</MonitoringConfiguration>
<LogLevel>4</LogLevel>
<ManagedEntityId>$Target/Host/Id$</ManagedEntityId>
<IntervalSeconds>60</IntervalSeconds>
<SampleCount>6</SampleCount>
<HandleCountIncreaseThreshold>20</HandleCountIncreaseThreshold>
<MemoryPercentageThreshold>50</MemoryPercentageThreshold>
<PercentProcessorTimeThreshold>50</PercentProcessorTimeThreshold>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.10.0.Process.HealthStatePublish.WriteAction"/>
</WriteActions>
</Rule>