I think there might be a better way, but you could run the check against a
different port. On that other port, you could have it run your custom check
and return an OK response if your check passes and fail if it doesn't.
From: Sanjeev Kumar [mailto:replyskumar#gmail.com]
Sent: Friday, May 15, 2009 10:26 AM
To: haproxy#formilux.org
Subject: Re: New to HAproxy - how to define custom health-check msg?
Hi,
I am planning to use HAproxy to load-balance my custom-service(Tcp Application) on Real-servers.
My service is not Http-based, hence option 'httpchk' would be not be replied by my App.
Just checking TCP-connection open is not sufficient.
How can I define my custom "send-string" and "expected-string" using HA-proxy ??
Any direction/pointers would be highly appreciated.
-Sanjeev kumar
Internal Virus Database is out of date.
Checked by AVG - www.avg.com
Version: 8.5.325 / Virus Database: 270.12.21/2101 - Release Date: 05/06/09
17:58:00
Received on 2009/05/15 16:51
This archive was generated by hypermail 2.2.0 : 2009/05/15 17:00 CEST