偵測 Application Insights 狀態監視器衝突
此規則會偵測 Application Insights 狀態監視器衝突並重新套用 APM 設定。
Target | Microsoft.SystemCenter.Apm.StatusMonitor |
Category | Custom |
Enabled | True |
Alert Generate | False |
Remotable | False |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
Scheduler | DataSource | System.SimpleScheduler | Default |
WriteAction | WriteAction | Microsoft.SystemCenter.Apm.StatusMonitor.ApplyConfiguration | System.PrivilegedMonitoringAccount |
<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>