进程监视:进程运行状态订阅

Microsoft.Windows.Server.10.0.Process.HealthStateSubscription.Rule (Rule)

此规则将进程运行状态信息保存至 SCOM 数据仓库。若要开始信息收集,请确保已启用“进程监视:运行状态收集”规则。

Knowledge Base article:

摘要

此规则将进程和端口运行状态信息保存至 SCOM 数据仓库。若要开始信息收集,请确保已启用“进程和端口监视:运行状态收集”规则。

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategoryCustom
EnabledFalse
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
Subscribe DataSource Microsoft.Windows.Server.10.0.ProcessInfo.DWSubscription.HealthState.DataSource Default
WA WriteAction Microsoft.Windows.Server.10.0.Process.HealthStateDW.WriteAction Default

Source Code:

<Rule ID="Microsoft.Windows.Server.10.0.Process.HealthStateSubscription.Rule" Enabled="false" Target="SC!Microsoft.SystemCenter.HealthService" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Custom</Category>
<DataSources>
<DataSource ID="Subscribe" TypeID="Microsoft.Windows.Server.10.0.ProcessInfo.DWSubscription.HealthState.DataSource">
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
<ChannelId>$MPElement[Name="Microsoft.Windows.Server.10.0.Process.HealthState.Collection"]$</ChannelId>
<DropItems>false</DropItems>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.10.0.Process.HealthStateDW.WriteAction" Target="SCDW!Microsoft.SystemCenter.DataWarehouseConnectorServer"/>
</WriteActions>
</Rule>