Collect Pool Connections via SNMP and Powershell
F5 Pool Current Connections Performance Collection, Uses a Powershell Script and SNMP to collect Current Connection data for all Pools in a SyncFailoverGroup, Supports Cookdown!
SNMP OIDs Used;
.1.3.6.1.4.1.3375.2.2.5.2.3.1.1 - bigipTrafficMgmt.bigipLocalTM.ltmPools.ltmPoolStat.ltmPoolStatTable.ltmPoolStatEntry.ltmPoolStatName
.1.3.6.1.4.1.3375.2.2.5.2.3.1.8 - bigipTrafficMgmt.bigipLocalTM.ltmPools.ltmPoolStat.ltmPoolStatTable.ltmPoolStatEntry.ltmPoolStatServerCurConns
Target | AP.F5.LTM.Pool |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | AP.F5.LTM.DataSource.PoolConnections.Filtered | Default |
CollectToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
CollectToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="AP.F5.LTM.Perf.Pool.Connections" Target="AP.F5.LTM.Pool" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="AP.F5.LTM.DataSource.PoolConnections.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>
<PoolName>$Target/Property[Type="AP.F5.LTM.Pool"]/FullName$</PoolName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="CollectToDW" TypeID="MSDL!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>