Collect Virtual Server Average Connection Duration via SNMP and Powershell
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 OIDs Used;
.1.3.6.1.4.1.3375.2.2.10.2.3.1.1 - bigipTrafficMgmt.bigipLocalTM.ltmVirtualServers.ltmVirtualServStat.ltmVirtualServStatTable.ltmVirtualServStatEntry.ltmVirtualServStatName
.1.3.6.1.4.1.3375.2.2.10.2.3.1.4 - bigipTrafficMgmt.bigipLocalTM.ltmVirtualServers.ltmVirtualServStat.ltmVirtualServStatTable.ltmVirtualServStatEntry.ltmVirtualServStatCsMeanConnDur
Target | AP.F5.LTM.VirtualServer |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
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 |
<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>