Forum Discussion

Kevin_130699's avatar
Kevin_130699
Icon for Nimbostratus rankNimbostratus
Aug 01, 2013

Unique user logging

Hello all. i am new to this so hopefully this makes sense. i want to be able to create a report that will count the number of unique connections per pool member inside the Virtual Server. Can this be done or has it been done?

 

 

Thanks

 

Kevin

 

2 Replies

  • is snmp polling usable?

    e.g.

    [root@B3900-R67-S12:Active:Standalone] config  snmpwalk -v 2c -c public localhost f5|grep ltmPoolMemberStatServerCurConns
    F5-BIGIP-LOCAL-MIB::ltmPoolMemberStatServerCurConns."/Common/foo"."/Common/200.200.200.101".80 = Counter64: 52
    
  • You can also use TMSH:

    
    tmsh show ltm pool local-pool |grep "Current Connections" | awk -F" " '{ print $3 }'
    

    This will of course is giving you current connections (a fleeting number), while total connections would give you the count of all TCP connections from last counter reset. Also understand that these are TCP numbers, and not necessarily representative of a number of users.

    You can also use a stats profile or iStats to collect, count, aggregate, gauge, and (optionally) rate these data points. The Application Verification and Reporting (AVR) licensed module will give you all of this and more in a nice graphical/exportable package, as will the Enterprise Manager product. There are also third party tools, Splunk, Q1, Cacti, etc. that can build reports from custom SNMP and syslog data points.