クライアント監視アプリケーション - 影響を受ける一意のユーザー数監視の正常状態設定ルール

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

このルールは、モニタの状態を、アプリケーションあたりの影響を受ける一意のユーザー総数に基づいて正常状態に設定できるようにします。

Knowledge Base article:

概要

このルールは、アプリケーションあたりのユーザー総数に基づいてモニタの状態を成功に設定するために、内部的に使用されます。このルールは、監視に悪影響を与えるため、上書きしないでください。

原因

このセクションは、この種類のルールには適用されません。

解決方法

この種類のルールには、ユーザーの操作は必要ありません。

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.AppUserCountMonitorSuccessStateSetter" 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 count(*), AR.SourceEntityId, IsNull(MO.UniqueUserThresholdValue, 50) from AemRelationship AR join MT_Application A on AR.SourceEntityId = A.BaseManagedEntityId left join MT_MonitorOverride MO on AR.SourceEntityId = MO.ManagedEntityId where AR.RelationshipTypeId = 0 and AR.EntityTypeId = 0 group by AR.SourceEntityId, MO.UniqueUserThresholdValue</Query>
<MonitorId>$MPElement[Name="AEMViewsInternal!Microsoft.SystemCenter.CM.AEM.Views.Internal.UsersAffectedAppThreshold"]$</MonitorId>
<ManagedEntityId>Columns/Column[2]</ManagedEntityId>
<Value>Columns/Column[1]</Value>
<Threshold>Columns/Column[3]</Threshold>
</WriteAction>
</WriteActions>
</Rule>