Re: Option contstats not working.

From: Willy Tarreau <w#1wt.eu>
Date: Wed, 29 Jul 2009 23:58:51 +0200


On Tue, Jul 28, 2009 at 02:43:01PM -0400, Paul Dickson wrote:
> I put it under the defaults section and have double checked it since.
> Stopped and started haproxy. Still not getting any stats until after I
> close my TS session. Ideas?

just tested right now and it still works for me on 1.3.19. I know many people using it in 1.3.15.X and 1.3.18. What version are you using ? I'm surprised, because this area has not been touched for a long time.

Here's my test config :

defaults

        option          contstats
        timeout         connect 5s
        timeout         client 25s
        timeout         server 25s
        maxconn         100

listen ts
        bind            0.0.0.0:3389
        mode            tcp
        balance         roundrobin
        server          tse1 127.0.1.1:13389

listen stats
        bind            0.0.0.0:8888
        mode            http
        stats           uri /stat

Regards,
Willy Received on 2009/07/29 23:58

This archive was generated by hypermail 2.2.0 : 2009/07/30 00:00 CEST