Re: auto reply 200 on stats URL just for logs

From: Damien Hardy <damien.damned.hardy#gmail.com>
Date: Tue, 12 Jul 2011 08:56:12 +0200


Le 11/07/2011 22:07, Willy Tarreau a écrit :
> On Mon, Jul 11, 2011 at 02:20:37PM +0200, Damien Hardy wrote:

>> Whatever method is used, I want that haproxy never ask to any backend an
>> answer directly to client and log the request like others

>
> Then define a "monitor-uri", it's done for that.
>
> Example :
>
> frontend XXX
> mode http
> monitor-uri /test
>
> All checks to /test will return a 200 OK. Its used so that haproxy can be
> tested by other components (eg: keepalived).
>
> Regards,
> Willy
>

Yes but if I refer to the doc there is no log entries when someone request monitor uri and this is what à want for my stats platform.

Maybe haproxy could send the well know tiny "transparent pixel" on demand without even go through caching servers. #featurerequest :)

Regards,

-- 
Damien
Received on 2011/07/12 08:56

This archive was generated by hypermail 2.2.0 : 2011/07/12 09:00 CEST