Re: httpchk - verify for headers

From: Willy Tarreau <w#1wt.eu>
Date: Tue, 27 Apr 2010 22:34:00 +0200


Hi Fernando,

On Tue, Apr 27, 2010 at 04:50:17PM -0300, Fernando Morgenstern wrote:
> Hello,
>
> I'm using haproxy with httpchk health check.
>
> At a first moment, i was using a simple check.txt file but i found out that it was not enough as some of the server problems are not detected with this.
>
> I have another url that checks server status and return a header if eveything is ok. Is it possible to check the presence of a header in health check?

not right now. However there's a patch floating around (ECV = Explicit Content Validation) which makes this possible, but there are a few very embarrassing bugs remaining in it which can basically crash your haproxy daemon. That's the reason why it's still not merged. Once I get a bit of spare time, I'll try to address them. Maybe we can get it in 1.4.5.

Regards,
willy Received on 2010/04/27 22:34

This archive was generated by hypermail 2.2.0 : 2010/04/27 22:45 CEST