Microsoft Dynamics NAV\# Mounted tenants

Microsoft.Dynamics.Nav.2013.NumberOfTenants (Rule)

This counter measures the number of tenants that are mounted on the Microsoft Dynamics NAV Server instance.

Knowledge Base article:

Summary

This counter measures the number of tenants that are mounted on the Microsoft Dynamics NAV Server instance.

Element properties:

TargetMicrosoft.Dynamics.Nav.2013.ServerInstance
CategoryPerformanceCollection
EnabledTrue
Instance NameMicrosoft Dynamics NAV
Counter Name# Mounted tenants
Frequency300
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Performance.OptimizedDataProvider Microsoft.Dynamics.Nav.2013.DefaultAccount
CollectToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
CollectToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Dynamics.Nav.2013.NumberOfTenants" Target="Microsoft.Dynamics.Nav.2013.ServerInstance" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Performance!System.Performance.OptimizedDataProvider" RunAs="Microsoft.Dynamics.Nav.2013.DefaultAccount">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName># Mounted tenants</CounterName>
<ObjectName>Microsoft Dynamics NAV</ObjectName>
<InstanceName>$Target/Property[Type="Microsoft.Dynamics.Nav.2013.ServerInstance"]/ServerInstance$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>0</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>1</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="CollectToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>