Regola di sistema che raccoglie gli eventi di modifica dello stato da qualsiasi oggetto.
Questa regola viene utilizzata internamente per raccogliere tutti gli eventi di modifica dello stato su tutti gli oggetti per l'intero gruppo di gestione. Tale regola non deve essere sostituita in quanto potrebbe avere un impatto negativo sul monitoraggio.
Questa sezione non è applicabile per questo tipo di regola.
Non è richiesta alcuna azione utente per questo tipo di regola.
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>