Grupo de errores de supervisión de cliente: regla de establecedor de estado de error del monitor de recuentos de usuarios únicos afectados

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

Esta regla permite establecer el estado del monitor en error según los usuarios únicos totales afectados por grupo de errores

Knowledge Base article:

Resumen

Esta regla se usa internamente para establecer el estado del monitor en error según los recuentos totales de usuarios por grupo de errores. Esta regla no se debe invalidar, ya que tendrá un efecto negativo sobre la supervisión.

Causas

Esta sección se aplica a este tipo de regla.

Resoluciones

No se requiere la intervención del usuario para este tipo de regla.

Element properties:

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

Member Modules:

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

Source Code:

<Rule ID="Microsoft.SystemCenter.CM.AEM.Internal.BucketUserCountMonitorErrorStateSetter" 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="ErrorStateSetter" TypeID="Microsoft.SystemCenter.CM.AEM.Internal.TargetSetErrorStateAction">
<Query>select count(*), AR.SourceEntityId, IsNull(MO.UniqueUserThresholdValue, 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 = 0 and AR.EntityTypeId = 1 group by AR.SourceEntityId, MO.UniqueUserThresholdValue</Query>
<MonitorId>$MPElement[Name="AEMViewsInternal!Microsoft.SystemCenter.CM.AEM.Views.Internal.UsersAffectedWatsonBucketThreshold"]$</MonitorId>
<ManagedEntityId>Columns/Column[2]</ManagedEntityId>
<Value>Columns/Column[1]</Value>
<Threshold>Columns/Column[3]</Threshold>
</WriteAction>
</WriteActions>
</Rule>