收集系統中所有監視的狀態變更事件

Microsoft.SystemCenter.CollectEntityState (Rule)

此規則會收集系統中的所有狀態變更事件

Knowledge Base article:

摘要

此規則為內部使用,用以收集整個管理群組之特定物件的所有狀態。 不應覆寫此規則,否則會對監視有負面影響。

原因

本部分不適用此規則類型。

解決方式

此規則類型不需要任何使用者動作。

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategorySystem
EnabledTrue
Alert GenerateFalse
RemotableTrue
Commentthis rule collects states of all entities

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Health.TargetGroupEntityStateChangeProvider Default
WA WriteAction Microsoft.SystemCenter.CollectEntityHealthStateChange Default

Source Code:

<Rule ID="Microsoft.SystemCenter.CollectEntityState" Comment="this rule collects states of all entities" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="40">
<Category>System</Category>
<DataSources>
<DataSource ID="DS" TypeID="Health!System.Health.TargetGroupEntityStateChangeProvider"/>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="SCLibrary!Microsoft.SystemCenter.CollectEntityHealthStateChange"/>
</WriteActions>
</Rule>