On Fri, Jan 22, 2010 at 02:24:15PM -0800, Paul Hirose wrote:
> Is it possible to do a stats enable in conjunction with a mode tcp?
> I'm serving LDAP(S) so I don't need mode http.  If I do mode http (the
> only change I make in my haproxy.cfg file), then I can get stats.  But
> I kinda thought setting "mode http" on a non-HTTP service would be
> bad.
> 
> I was hoping for a "pretty" web page style statistics I can give to my
> clients so they can see what's going on in terms of load, etc.

You can easily have that in a dedicated section :

listen stats
        mode http
        bind :8080
        stats uri /

And that's all ;-)

Willy


Reply via email to