Collects the value of the Number of Client Sessions performance counter for an AOS instance.
This rule collects performance data that will be used in either reporting or a view.
This section is not applicable to performance rules.
There is no resolution to perform for performance rules because they do not generate state or alerts.
Target | Microsoft.Dynamics.AX6.ManagementPack.ClassLibrary.AOSSessionPerfCounters |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
Script | DataSource | Microsoft.Dynamics.AX6.ManagementPack.AOS.Monitoring.Session.PerfCountersProvider | Microsoft.Dynamics.AX6.ManagementPack.ClassLibrary.AxDbReaderAccount |
PerfMapper | ConditionDetection | System.Performance.DataGenericMapper | Microsoft.Dynamics.AX6.ManagementPack.ClassLibrary.AxDbReaderAccount |
CollectPerfData | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.Dynamics.AX6.ManagementPack.AOS.Monitoring.PerfRule.NrOfRichClientSessions" Enabled="true" Target="MicrosoftDynamicsAX6ManagementPackClassLibrary!Microsoft.Dynamics.AX6.ManagementPack.ClassLibrary.AOSSessionPerfCounters" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="Script" RunAs="MicrosoftDynamicsAX6ManagementPackClassLibrary!Microsoft.Dynamics.AX6.ManagementPack.ClassLibrary.AxDbReaderAccount" TypeID="Microsoft.Dynamics.AX6.ManagementPack.AOS.Monitoring.Session.PerfCountersProvider">
<IntervalSeconds>1200</IntervalSeconds>
<TimeoutSeconds>180</TimeoutSeconds>
<InstancePropertyValue>$Target/Property[Type="MicrosoftDynamicsAX6ManagementPackClassLibrary!Microsoft.Dynamics.AX6.ManagementPack.ClassLibrary.AOSSessionPerfCounters"]/AOSID$</InstancePropertyValue>
<NetBiosName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</NetBiosName>
</DataSource>
</DataSources>
<ConditionDetection ID="PerfMapper" RunAs="MicrosoftDynamicsAX6ManagementPackClassLibrary!Microsoft.Dynamics.AX6.ManagementPack.ClassLibrary.AxDbReaderAccount" TypeID="Performance!System.Performance.DataGenericMapper">
<ObjectName>AOS Session NrOfClientSessions</ObjectName>
<CounterName>Number of Client Sessions</CounterName>
<InstanceName>$Target/Property[Type="MicrosoftDynamicsAX6ManagementPackClassLibrary!Microsoft.Dynamics.AX6.ManagementPack.ClassLibrary.AOSSessionPerfCounters"]/AOSID$</InstanceName>
<Value>$Data/Property[@Name='NrOfRichClientSessions']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="CollectPerfData" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SystemCenter!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>