用戶端監視系統錯誤群組 - 總叫用次數監視錯誤狀態 Setter 規則

Microsoft.SystemCenter.CM.AEM.Internal.SystemBucketTotalHitCountMonitorErrorStateSetter (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
ErrorStateSetter WriteAction Microsoft.SystemCenter.CM.AEM.Internal.TargetSetErrorStateAction Default

Source Code:

<Rule ID="Microsoft.SystemCenter.CM.AEM.Internal.SystemBucketTotalHitCountMonitorErrorStateSetter" 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="ErrorStateSetter" TypeID="Microsoft.SystemCenter.CM.AEM.Internal.TargetSetErrorStateAction">
<Query>EXEC p_AemGetSystemBucketInfo</Query>
<MonitorId>$MPElement[Name="AEMViewsInternal!Microsoft.SystemCenter.CM.AEM.Views.Internal.SystemBucketThreshold"]$</MonitorId>
<ManagedEntityId>Columns/Column[2]</ManagedEntityId>
<Value>Columns/Column[1]</Value>
<Threshold>Columns/Column[3]</Threshold>
</WriteAction>
</WriteActions>
</Rule>