On 9 September 2011 14:44, John Helliwell <[email protected]> wrote:

> Indeed, the httchk is expecting a HTTP response header. I think I can fool
> it by installing a wrapper script on the target which inserts a valid HTTP
> response header - there is an example of that at
> http://sysbible.org/2008/12/04/having-haproxy-check-mysql-status-through-a-xinetd-script/

That could work.

In case someone stumbles across this in the archives, it's worth
mentioning that a mysql-specific health check does exist in the
current versions of HAproxy and the hack described in the above URL is
no longer needed *for mysql*. Nevertheless, the principle described
could be used for your redis checks.

Regards,
Graeme.

Reply via email to