Re: Counting number given session cookies used by sticky load balancer?

2013-03-21 Thread Baptiste
Hi, You can use the stick-table for this purpose, using stick-store to refresh the values, like: stick-table type string len 32 size 100k expire 4h # setup the same expiration time as your application stick store-request cookie(JSESSIONID) Then, use socat and bash to count the number of sessi

Re: Counting number given session cookies used by sticky load balancer?

2013-03-21 Thread Jonathan Matthews
On 21 March 2013 19:06, VERMEERBERGEN Alexandre wrote: > Hello, > > I have search a while on the internet before asking this question, surprised > to find nothing close to what I was trying to achieve. > > My goal: to monitor the number of concurrent *user* sessions going through a > given haproxy

Counting number given session cookies used by sticky load balancer?

2013-03-21 Thread VERMEERBERGEN Alexandre
Hello, I have search a while on the internet before asking this question, surprised to find nothing close to what I was trying to achieve. My goal: to monitor the number of concurrent *user* sessions going through a given haproxy server, using the fact that my user session are identified by a