Hi Simon, On Sun, Jun 23, 2013 at 10:17:29PM +0000, Simon Green wrote: > Hi List, > > We had a requirement to be able to put servers in and out of maint mode > remotely from a script. To facilitate this we exposed the stats socket using > socat, and wrote an init script to do that for us: > https://github.com/Wirehive/haproxy-remote
Since a recent enough version, maybe dev16 or 17, you can even have your stats socket listen to TCP directly :-) > We then thought it would be nice, as we manage a lot of HAProxy instances, to > be able to use HATop (http://feurix.org/projects/hatop/) remotely, so we've > modified HATop to accept a host and port for TCP socket connections: > https://github.com/Wirehive/hatop > > I'm not sure how useful this will be for everyone else, but I thought I'd > share it just in case :) Good idea, I think that can be useful especially for people who monitor special events (eg stores selling with high rebates for one day, etc...). Regards, Willy