Regel die wordt gebruikt voor het verzenden van de configuratie van de bewakingsagent naar de APM-service
Met deze regel wordt de configuratie van de bewakingsagent voor de clientzijde toegepast.
Target | Microsoft.SystemCenter.Apm.CsmAgent |
Category | Alert |
Enabled | True |
Alert Generate | False |
Remotable | False |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
Scheduler | DataSource | System.SimpleScheduler | Default |
WriteAction | WriteAction | Microsoft.SystemCenter.Apm.Library.CsmAgentApplyConfiguration | System.PrivilegedMonitoringAccount |
<Rule ID="Microsoft.SystemCenter.Apm.Library.CsmAgentApplyConfigurationRule" Enabled="true" ConfirmDelivery="false" Target="Microsoft.SystemCenter.Apm.CsmAgent" Remotable="false">
<Category>Alert</Category>
<DataSources>
<DataSource ID="Scheduler" TypeID="System!System.SimpleScheduler">
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteAction" TypeID="Microsoft.SystemCenter.Apm.Library.CsmAgentApplyConfiguration" RunAs="System!System.PrivilegedMonitoringAccount">
<Id>$Target/Id$</Id>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
<ApplicationGroupName>Undefined</ApplicationGroupName>
<CsmActionConfig>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.CsmActionConfig']/Path$</CsmActionConfig>
<CsmActionXsd>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.CsmActionXsd']/Path$</CsmActionXsd>
<CsmInstrumentConfig>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.CsmInstrumentConfig']/Path$</CsmInstrumentConfig>
<MonitorXsd>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.MonitorXsd']/Path$</MonitorXsd>
<CsmTransactionConfig>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.CsmTransactionConfig']/Path$</CsmTransactionConfig>
<CsmTransactionXsd>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.CsmTransactionXsd']/Path$</CsmTransactionXsd>
<CsmCollectorConfig>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.CsmCollectorConfig']/Path$</CsmCollectorConfig>
<CsmCollectorXsd>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.CsmCollectorXsd']/Path$</CsmCollectorXsd>
<EncryptionSettings>$RunAs[Name="Microsoft.SystemCenter.Apm.Csm.EncryptionProfile"]/Data$</EncryptionSettings>
</WriteAction>
</WriteActions>
</Rule>