クライアント監視アプリケーション - 影響を受ける一意のコンピュータ数パフォーマンス収集ルール

Microsoft.SystemCenter.CM.AEM.Internal.AppMachineCountPerfCollection (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.AppMachineCountPerfCollection" 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_Application A on AR.SourceEntityId = A.BaseManagedEntityId where RelationshipTypeId = 1 and EntityTypeId = 0 group by SourceEntityId</Query>
<ObjectName>Application</ObjectName>
<CounterName>ApplicationUniqueMachinesAffected</CounterName>
<Value>Columns/Column[1]</Value>
<ManagedEntityId>Columns/Column[2]</ManagedEntityId>
<RuleId>$MPElement[Name="AEMViewsInternal!Microsoft.SystemCenter.CM.AEM.Views.Internal.AppMachineCountPerfCollector"]$</RuleId>
</WriteAction>
</WriteActions>
</Rule>