Apply APM Agent configuration

Microsoft.SystemCenter.Apm.ApmAgentApplyConfigurationRule (Rule)

Rule used to send configuration to the APM Service

Knowledge Base article:

Summary

This rule applies APM Agent configuration.

Element properties:

TargetMicrosoft.SystemCenter.Apm.ApmAgent
CategoryAlert
EnabledTrue
Alert GenerateFalse
RemotableFalse

Member Modules:

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

Source Code:

<Rule ID="Microsoft.SystemCenter.Apm.ApmAgentApplyConfigurationRule" Enabled="true" ConfirmDelivery="false" Target="Microsoft.SystemCenter.Apm.ApmAgent" 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.ApmAgentApplyConfiguration" RunAs="System!System.PrivilegedMonitoringAccount">
<Id>$Target/Id$</Id>
<EnableAllWebMonitoring>$Target/Property[Type="Microsoft.SystemCenter.Apm.ApmAgent"]/EnableMonitoringAllWebApplications$</EnableAllWebMonitoring>
<PerformanceThreshold>$Target/Property[Type="Microsoft.SystemCenter.Apm.ApmAgent"]/PerformanceThreshold$</PerformanceThreshold>
<SensitivityThreshold>$Target/Property[Type="Microsoft.SystemCenter.Apm.ApmAgent"]/SensitivityThreshold$</SensitivityThreshold>
<EnableAllExceptions>$Target/Property[Type="Microsoft.SystemCenter.Apm.ApmAgent"]/EnableAllCriticalExceptions$</EnableAllExceptions>
<EnableEventThrottling>$Target/Property[Type="Microsoft.SystemCenter.Apm.ApmAgent"]/EnableDisableEventThrottling$</EnableEventThrottling>
<SensitiveRules/>
<AliasingRules/>
<ThrottlingPerformancePerDomainPerMinute>60</ThrottlingPerformancePerDomainPerMinute>
<ThrottlingPerformancePerDomainPerHour>600</ThrottlingPerformancePerDomainPerHour>
<ThrottlingPerformancePerDomainPerDay>1200</ThrottlingPerformancePerDomainPerDay>
<ThrottlingPerformanceEventGroupsPerMinute>3</ThrottlingPerformanceEventGroupsPerMinute>
<ThrottlingPerformanceEventGroupsPerHour>30</ThrottlingPerformanceEventGroupsPerHour>
<ThrottlingPerformanceEventGroupsPerDay>60</ThrottlingPerformanceEventGroupsPerDay>
<ThrottlingExceptionsTotalChainsPerMinute>6000</ThrottlingExceptionsTotalChainsPerMinute>
<ThrottlingExceptionsTotalChainsPerHour>60000</ThrottlingExceptionsTotalChainsPerHour>
<ThrottlingExceptionsTotalChainsPerDay>600000</ThrottlingExceptionsTotalChainsPerDay>
<ThrottlingExceptionsPerDomainPerMinute>15</ThrottlingExceptionsPerDomainPerMinute>
<ThrottlingExceptionsPerDomainPerHour>60</ThrottlingExceptionsPerDomainPerHour>
<ThrottlingExceptionsPerDomainPerDay>300</ThrottlingExceptionsPerDomainPerDay>
<ThrottlingExceptionsEventGroupsPerMinute>3</ThrottlingExceptionsEventGroupsPerMinute>
<ThrottlingExceptionsEventGroupsPerHour>15</ThrottlingExceptionsEventGroupsPerHour>
<ThrottlingExceptionsEventGroupsPerDay>30</ThrottlingExceptionsEventGroupsPerDay>
<StatisticCountersActionConfigPath>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.StatisticCountersActionConfig']/Path$</StatisticCountersActionConfigPath>
<StatisticCountersInstrumentConfigPath>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.StatisticCountersInstrumentConfig']/Path$</StatisticCountersInstrumentConfigPath>
<PMonitorConfigPath>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.PMonitorConfig']/Path$</PMonitorConfigPath>
<PMonitorDefaultConfigPath>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.PMonitorDefaultConfig']/Path$</PMonitorDefaultConfigPath>
<MonitorXsdPath>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.MonitorXsd']/Path$</MonitorXsdPath>
<PerfCounterMonitorConfigPath>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.PerfCounterMonitorConfig']/Path$</PerfCounterMonitorConfigPath>
<PerfCounterMonitorXsdPath>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.PerfCounterMonitorXsd']/Path$</PerfCounterMonitorXsdPath>
<StarterConfigPath>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.StarterConfig']/Path$</StarterConfigPath>
<StarterXsdPath>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.StarterXsd']/Path$</StarterXsdPath>
<ServerAgentConfigPath>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.ServerAgentConfig']/Path$</ServerAgentConfigPath>
<ServerAgentXsdPath>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.ServerAgentXsd']/Path$</ServerAgentXsdPath>
<StatisticCountersActionXsdPath>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.StatisticCountersActionXsd']/Path$</StatisticCountersActionXsdPath>
<AgentHandlersConfigPath>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.AgentHandlersConfig']/Path$</AgentHandlersConfigPath>
<ApmServerModulesConfigPath>$FileResource[Name='Res.Microsoft.SystemCenter.Apm.ApmServerModulesConfig']/Path$</ApmServerModulesConfigPath>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
<DisableAssemblySharing>true</DisableAssemblySharing>
<EnableRTIA>true</EnableRTIA>
</WriteAction>
</WriteActions>
</Rule>