Just got around to attempting this, it appears not to work with SSL.  Is there 
any other option (stunnel breaks a lot and doesn't support 1 off connections)?

 * Reloading haproxy haproxy                                                    
                                          [WARNING] 155/201028 (3442) : config 
: 'stats' statement ignored for proxy 'ssl-relay' as it requires HTTP mode.
                                                                                
                                   [ OK ]



On May 30, 2012, at 12:03 PM, Miah Johnson wrote:

> Cord,
> 
> Yes! You can use 'stats socket' or 'stats uri', and a small program that 
> reads that to monitor your haproxy system. From there you can gather many 
> statistics about your haproxy server, including but not limited to server 
> status (up,down,etc), number of failed checks, and downtime.
> 
> -- 
> Miah Johnson
> 
> On Wednesday, May 30, 2012 at 11:36 AM, Cord MacLeod wrote:
> 
>> List,
>> 
>> I'm wondering, is there a hook or something of this nature I can call to 
>> find if/what are the down machines in my config file? Essentially the issue 
>> I'm attempting to solve is to automatically remove servers that haproxy 
>> believes are down. These machines are all SSL, so the ssl-hello-chk is the 
>> only way to tell if these machines are alive. Has anyone run into this?
> 

Reply via email to