此系統規則會收集所有物件的狀態變更事件。
此規則為內部使用,用以收集整個管理群組之所有物件的所有狀態變更事件。不應覆寫此規則,否則會對監視有負面影響。
本部分不適用此規則類型。
此規則類型不需要任何使用者動作。
Target | Microsoft.SystemCenter.HealthService |
Category | System |
Enabled | True |
Alert Generate | False |
Remotable | True |
Comment | this rule collects all monitor states from an agent |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.SystemCenter.PublishedEntityHealthStateChangeProvider | Default |
PostFilter | ConditionDetection | Microsoft.SystemCenter.DistributedAcknowledgement.PostFilter | Default |
WA | WriteAction | Microsoft.SystemCenter.EntityHealthStateChangeWriter | Default |
<Rule ID="Microsoft.SystemCenter.CollectPublishedEntityState" Comment="this rule collects all monitor states from an agent" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="40">
<Category>System</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SystemCenter.PublishedEntityHealthStateChangeProvider"/>
</DataSources>
<ConditionDetection ID="PostFilter" TypeID="Microsoft.SystemCenter.DistributedAcknowledgement.PostFilter">
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
<ChannelId>4506DE47-806E-447f-90BB-20FAEBB7E87E</ChannelId>
<ItemId>ManagedEntityId=$Data/ManagedEntity$ MonitorId=$Data/Changes/Change/MonitorId$</ItemId>
<ItemValid>$Data/@InstanceExists$</ItemValid>
<Cookie>$Data/Changes/Change/EventOriginId$</Cookie>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WA" TypeID="SCLibrary!Microsoft.SystemCenter.EntityHealthStateChangeWriter" Target="SCLibrary!Microsoft.SystemCenter.CollectionManagementServer"/>
</WriteActions>
</Rule>