Aplicación de supervisión de cliente: regla de establecedor de estado correcto del monitor de recuentos totales de aciertos

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

Esta regla permite establecer el estado del monitor en correcto según los recuentos totales de aciertos por aplicación

Knowledge Base article:

Resumen

Esta regla se usa internamente para establecer el estado del monitor en correcto según los recuentos totales de aciertos por aplicación 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
SuccessStateSetter WriteAction Microsoft.SystemCenter.CM.AEM.Internal.TargetSetSuccessStateAction Default

Source Code:

<Rule ID="Microsoft.SystemCenter.CM.AEM.Internal.AppTotalHitCountMonitorSuccessStateSetter" 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 sum(AC.HitCount), AC.SourceEntityId, IsNull(MO.HitCountThresholdValue, 50) from AemCrashCounters AC join MT_Application A on AC.SourceEntityId = A.BaseManagedEntityId left join MT_MonitorOverride MO on AC.SourceEntityId = MO.ManagedEntityId where AC.EntityTypeId = 0 group by AC.SourceEntityId, MO.HitCountThresholdValue</Query>
<MonitorId>$MPElement[Name="AEMViewsInternal!Microsoft.SystemCenter.CM.AEM.Views.Internal.HitCountAppThreshold"]$</MonitorId>
<ManagedEntityId>Columns/Column[2]</ManagedEntityId>
<Value>Columns/Column[1]</Value>
<Threshold>Columns/Column[3]</Threshold>
</WriteAction>
</WriteActions>
</Rule>