Shromažďovat stav objektu

Microsoft.SystemCenter.CollectPublishedEntityState (Rule)

Systémové pravidlo shromažďující události změny stavu z libovolného objektu

Knowledge Base article:

Souhrn

Toto pravidlo se používá interně ke shromažďování všech událostí změny stavu pro všechny objekty pro celou skupinu správy. Toto pravidlo by nemělo být přepsáno, jinak bude mít negativní dopad na monitorování.

Příčiny

Tento oddíl není použitelný pro tento typ pravidla.

Řešení

Pro tento typ pravidla není k dispozici žádná akce uživatele.

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>