偵測 Application Insights 狀態監視器衝突規則

Microsoft.SystemCenter.Apm.StatusMonitor.ApplyConfigurationRule (Rule)

偵測 Application Insights 狀態監視器衝突

Knowledge Base article:

摘要

此規則會偵測 Application Insights 狀態監視器衝突並重新套用 APM 設定。

Element properties:

TargetMicrosoft.SystemCenter.Apm.StatusMonitor
CategoryCustom
EnabledTrue
Alert GenerateFalse
RemotableFalse

Member Modules:

ID Module Type TypeId RunAs 
Scheduler DataSource System.SimpleScheduler Default
WriteAction WriteAction Microsoft.SystemCenter.Apm.StatusMonitor.ApplyConfiguration System.PrivilegedMonitoringAccount

Source Code:

<Rule ID="Microsoft.SystemCenter.Apm.StatusMonitor.ApplyConfigurationRule" Target="AI!Microsoft.SystemCenter.Apm.StatusMonitor" Remotable="false" Enabled="true" ConfirmDelivery="false">
<Category>Custom</Category>
<DataSources>
<DataSource ID="Scheduler" TypeID="System!System.SimpleScheduler">
<IntervalSeconds>86400</IntervalSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteAction" TypeID="Microsoft.SystemCenter.Apm.StatusMonitor.ApplyConfiguration" RunAs="System!System.PrivilegedMonitoringAccount"/>
</WriteActions>
</Rule>