Essa regra permite coletar dados de desempenho relacionados a contagens do total de acessos por grupo de erros de sistema
Essa regra é usada internamente para coletar dados de desempenho relacionados ao total de acertos por grupo de erros do sistema. Essa regra não deve ser substituída, pois terá um impacto negativo no monitoramento.
Esta seção não é aplicável a esse tipo de regra.
Não existe nenhuma ação do usuário para esse tipo de regra.
Target | Microsoft.SystemCenter.CM.AEM.CrashListener |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
Scheduler | DataSource | System.Scheduler | Default |
PerfDataWriter | WriteAction | Microsoft.SystemCenter.CM.AEM.Internal.MapQueriedPerfData | Default |
<Rule ID="Microsoft.SystemCenter.CM.AEM.Internal.SystemBucketTotalHitCountPerfCollection" Target="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener" Enabled="true" 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="PerfDataWriter" TypeID="Microsoft.SystemCenter.CM.AEM.Internal.MapQueriedPerfData">
<Query>DECLARE @TableName NVARCHAR(1000), @Query NVARCHAR(1000);SELECT @TableName = ManagedTypeTableName FROM ManagedType WHERE TypeName = 'Microsoft.SystemCenter.CM.AEM.SystemBucket';SET @Query = N'select sum(AC.HitCount), AC.SourceEntityId from AemCrashCounters AC join [' + @TableName + '] SB on AC.SourceEntityId = SB.BaseManagedEntityId where AC.EntityTypeId = 1 group by AC.SourceEntityId';EXEC sp_executesql @Query</Query>
<ObjectName>Bucket</ObjectName>
<CounterName>BucketErrorCount</CounterName>
<Value>Columns/Column[1]</Value>
<ManagedEntityId>Columns/Column[2]</ManagedEntityId>
<RuleId>$MPElement[Name="AEMViewsInternal!Microsoft.SystemCenter.CM.AEM.Views.Internal.SystemBucketTotalHitCountPerfCollector"]$</RuleId>
</WriteAction>
</WriteActions>
</Rule>