客户端监视错误组 - 受影响的唯一机器计数性能收集规则

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

此规则启用与每错误组的受影响唯一机器总数相关的性能数据

Knowledge Base article:

摘要

此规则在内部使用,收集与每错误组的受影响唯一机器总数相关的性能数据。此规则不应被替代,因为会对监视产生负面影响。

原因

本节不适用于此类型规则。

解决方法

此类型规则无需任何用户操作。

Element properties:

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

Member Modules:

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

Source Code:

<Rule ID="Microsoft.SystemCenter.CM.AEM.Internal.BucketMachineCountPerfCollection" 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>select count(*), SourceEntityId from AemRelationship AR join MT_WatsonBucket WB on AR.SourceEntityId = WB.BaseManagedEntityId where RelationshipTypeId = 1 and EntityTypeId = 1 group by SourceEntityId</Query>
<ObjectName>Bucket</ObjectName>
<CounterName>BucketUniqueMachinesAffected</CounterName>
<Value>Columns/Column[1]</Value>
<ManagedEntityId>Columns/Column[2]</ManagedEntityId>
<RuleId>$MPElement[Name="AEMViewsInternal!Microsoft.SystemCenter.CM.AEM.Views.Internal.BucketMachineCountPerfCollector"]$</RuleId>
</WriteAction>
</WriteActions>
</Rule>