进程监视:运行状态收集

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

此规则收集有关进程运行状态的信息。

Knowledge Base article:

摘要

此规则收集有关进程运行状态的信息。

注意:应小心重写此规则的阈值;如果阈值与针对警报规则设置的阈值不同,则可能导致警报与进程运行状态之间不一致。

Element properties:

TargetMicrosoft.Windows.Server.10.0.ProcessMonitoring.ProcessSeed
CategoryCustom
EnabledFalse
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="false" 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>