Method in health check

Roberto O. Fernández Crisial roberto.fernandezcrisial at gmail.com
Mon Dec 5 19:24:33 CET 2011


Try something like.. this is my probe at ".backend" on my directors:

                        .probe =
                        {
                                .timeout =  3s;
                                .interval = 10s;
                                .window = 10;
                                .threshold = 8;
                                .request =
                                        "HEAD / HTTP/1.1"
                                        "Host: yourdomain.com"
                                        "Connection: close"
                                        "Accept-Encoding: compress, gzip" ;
                        }

--
Roberto O. Fernández Crisial
@rofc


On Mon, Dec 5, 2011 at 3:10 PM, Mit Rowe <mit at stagename.com> wrote:

> Is there a way to specify the method used during health checks, such as
> using "HEAD" instead of "GET"?
>
> (current healthcheck pasted below)
>
> probe healthcheck {
>     .url = "/api/system/check/";
>     .interval = 2s;
>     .timeout = 0.3s;
>     .window = 1;
>     .threshold = 1;
>     .initial = 0;
>     .expected_response = 200;
> }
>
>
>
>
> --
> Will 'Mit' Rowe
> Stagename*
> *1-866-326-3098
> mit at stagename.com <josh at stagename.com>
> www.stagename.com
> Twitter: @stagename
>
> *The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination or other use of this
> information by persons or entities other than the intended recipient is
> prohibited. If you received this transmission in error, please contact the
> sender and delete all material contained herein from your computer.*
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20111205/2d5618db/attachment-0003.html>


More information about the varnish-misc mailing list