Применить клиентскую конфигурацию веб-приложения

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

Knowledge Base article:

Краткое описание

Это правило применяет конфигурацию веб-приложения на стороне клиента.

Element properties:

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

Member Modules:

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

Source Code:

<Rule ID="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance.ApplyConfigurationRule" Enabled="true" ConfirmDelivery="false" Target="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance" Remotable="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.CsmWebApplicationInstance.ApplyConfiguration" RunAs="System!System.PrivilegedMonitoringAccount">
<Id>$Target/Id$</Id>
<DisplayName>$Target/Property[Type="AL!Microsoft.SystemCenter.Apm.ApplicationInstanceBase"]/ApplicationName$</DisplayName>
<IISApplicationPath>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/IISApplicationPath$</IISApplicationPath>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
<ApplicationGroupName>$Target/Property[Type="AL!Microsoft.SystemCenter.Apm.ApplicationInstanceBase"]/ApplicationGroupName$</ApplicationGroupName>
<!--<CounterInstance>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmApplicationInstance"]/CounterInstance$</CounterInstance>-->
<EncryptionKey>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmApplicationInstance"]/EncryptionKey$</EncryptionKey>
<PageLoadThreshold>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/PageLoadThreshold$</PageLoadThreshold>
<SensitivityThreshold>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/SensitivityThreshold$</SensitivityThreshold>
<AjaxThreshold>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/AjaxThreshold$</AjaxThreshold>
<RequestFilters>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/RequestFilters$</RequestFilters>
<ResponseFilters>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/ResponseFilters$</ResponseFilters>
<StreamFilters>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/StreamFilters$</StreamFilters>
<IPHeaders>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/IPHeaders$</IPHeaders>
<SamplingRate>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/SamplingRate$</SamplingRate>
<DisabledContent>$Target/Property[Type="Microsoft.SystemCenter.Apm.CsmWebApplicationInstance"]/DisabledContent$</DisabledContent>
</WriteAction>
</WriteActions>
</Rule>