Forum Discussion
Is it possible to get Count of New Connections for given Virtual Server
Hi Team,
Currently the Rest call mgmt/tm/ltm/virtual/~Common~demo-ecom-vip/stats provides values for following parameters curConns, evictedConns, maxConns, pktsIn, pktsOut, slowKilled, totConns
Is there a way to get count of New Connections?
Thanks, Pranjal
What would you consider to be a new connection? A new connection would also be a current connection. When would a current connection be old?
- Pranjal_Kumar_3
Nimbostratus
Correct. But current connection is something that already established and is up and running. By New Connection i mean, any connections that are created in a given time frame. Current connections value can have connections that were created outside of that time frame also.
Maybe you could use the TCP profile stats for this. Create a unique TCP profile for the VS you want to monitor and read the TCP profile stats. Like this:
curl -k -u admin:admin -H "Content-Type: application/json" https://10.23.92.5/mgmt/tm/ltm/profile/tcp/~Common~tcp-serverssl/stats
Read the open value:
"open": { "value": 0 },
I think this value will hold the connections that are trying to get connected.
- Andy_McGrath
Cumulonimbus
Look at the bigtop command on Bash.
You can set the set the update interval and a load of other settings, but need to be running it to see the difference.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com