Raccogli stato oggetto

Microsoft.SystemCenter.CollectPublishedEntityState (Rule)

Regola di sistema che raccoglie gli eventi di modifica dello stato da qualsiasi oggetto.

Knowledge Base article:

Riepilogo

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.

Cause

Questa sezione non è applicabile per questo tipo di regola.

Soluzioni

Non è richiesta alcuna azione utente per questo tipo di regola.

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategorySystem
EnabledTrue
Alert GenerateFalse
RemotableTrue
Commentthis rule collects all monitor states from an agent

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SystemCenter.PublishedEntityHealthStateChangeProvider Default
PostFilter ConditionDetection Microsoft.SystemCenter.DistributedAcknowledgement.PostFilter Default
WA WriteAction Microsoft.SystemCenter.EntityHealthStateChangeWriter Default

Source Code:

<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>