Virtual Server Avg. Connection Duration

AP.F5.LTM.Perf.VirtualServer.AverageConnectionDuration (Rule)

Collect Virtual Server Average Connection Duration via SNMP and Powershell

Knowledge Base article:

Summary

F5 VirtualServer Average Connection Duration Performance Collection, Uses a Powershell Script and SNMP to collect Average Connection Duration data for all VirtualServers in a SyncFailoverGroup, Supports Cookdown!

SNMP Information

SNMP OIDs Used;

Element properties:

TargetAP.F5.LTM.VirtualServer
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource AP.F5.LTM.DataSource.VirtualServerAverageConnectionDuration.Filtered Default
CollectToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
CollectToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="AP.F5.LTM.Perf.VirtualServer.AverageConnectionDuration" Target="AP.F5.LTM.VirtualServer" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="AP.F5.LTM.DataSource.VirtualServerAverageConnectionDuration.Filtered">
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
<Debug>false</Debug>
<DeviceAddresses>$Target/Host/Host/Property[Type="AP.F5.LTM.SyncFailoverGroup"]/Addresses$</DeviceAddresses>
<DevicePorts>$Target/Host/Host/Property[Type="AP.F5.LTM.SyncFailoverGroup"]/Ports$</DevicePorts>
<DeviceCommunities>$Target/Host/Host/Property[Type="AP.F5.LTM.SyncFailoverGroup"]/Communities$</DeviceCommunities>
<VirtualServerName>$Target/Property[Type="AP.F5.LTM.VirtualServer"]/FullName$</VirtualServerName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="CollectToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>