Gruppo di errore di monitoraggio client - Regola che imposta lo stato di monitoraggio su completato in base al conteggio dei computer univoci interessati

Microsoft.SystemCenter.CM.AEM.Internal.BucketMachineCountMonitorSuccessStateSetter (Rule)

Questa regola attiva l'impostazione dello stato di monitoraggio su completato in base al totale dei computer univoci per gruppo di errore

Knowledge Base article:

Riepilogo

Questa regola viene utilizzata internamente per impostare lo stato di monitoraggio su completato in base al conteggio totale dei computer per gruppo di errori. 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.

Risoluzioni

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

Element properties:

TargetMicrosoft.SystemCenter.CM.AEM.CrashListener
CategoryPerformanceCollection
EnabledFalse
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
Scheduler DataSource System.Scheduler Default
SuccessStateSetter WriteAction Microsoft.SystemCenter.CM.AEM.Internal.TargetSetSuccessStateAction Default

Source Code:

<Rule ID="Microsoft.SystemCenter.CM.AEM.Internal.BucketMachineCountMonitorSuccessStateSetter" Target="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener" Enabled="false" ConfirmDelivery="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="Scheduler" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Minutes">15</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="SuccessStateSetter" TypeID="Microsoft.SystemCenter.CM.AEM.Internal.TargetSetSuccessStateAction">
<Query>select count(*), AR.SourceEntityId, IsNull(MO.UniqueComputerThresholdValue, 50) from AemRelationship AR join MT_WatsonBucket WB on AR.SourceEntityId = WB.BaseManagedEntityId left join MT_MonitorOverride MO on AR.SourceEntityId = MO.ManagedEntityId where AR.RelationshipTypeId = 1 and AR.EntityTypeId = 1 group by AR.SourceEntityId, MO.UniqueComputerThresholdValue</Query>
<MonitorId>$MPElement[Name="AEMViewsInternal!Microsoft.SystemCenter.CM.AEM.Views.Internal.ComputersAffectedWatsonBucketThreshold"]$</MonitorId>
<ManagedEntityId>Columns/Column[2]</ManagedEntityId>
<Value>Columns/Column[1]</Value>
<Threshold>Columns/Column[3]</Threshold>
</WriteAction>
</WriteActions>
</Rule>