Total number of Active Connections (Tenant)

Microsoft.Windows.RemoteAccess.MultiTenant.2012.R2.Monitoring.Tenant.ActiveConnectionsCounter (Rule)

Active Connections(S2S & VPN) in the Tenant

Element properties:

TargetMicrosoft.Windows.RemoteAccess.Multitenant.2012.R2.Class.Tenant
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
PCActiveConnections DataSource Microsoft.Windows.RemoteAccess.Multitenant.2012.R2.DataSourceModule.RRASConnectionPerformanceCounters Default
CollectToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
CollectToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.RemoteAccess.MultiTenant.2012.R2.Monitoring.Tenant.ActiveConnectionsCounter" Target="MWRM2RD!Microsoft.Windows.RemoteAccess.Multitenant.2012.R2.Class.Tenant" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PCActiveConnections" TypeID="Microsoft.Windows.RemoteAccess.Multitenant.2012.R2.DataSourceModule.RRASConnectionPerformanceCounters">
<IntervalSeconds>900</IntervalSeconds>
<SyncTime>12:00</SyncTime>
<RoutingDomain>$Target/Property[Type="MWRM2RD!Microsoft.Windows.RemoteAccess.Multitenant.2012.R2.Class.Tenant"]/TenantName$</RoutingDomain>
<IsServer>NO</IsServer>
<CounterName>ActiveConnections</CounterName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="CollectToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>