Probing if Varnish is Alive
Fri, 10/29/2010 - 23:52 — sandipIf you probe on varnish service status to check if it is alive, this can be setup as below. Put it in "vcl_recv" block:
# Check if Varnish is alive
if (req.url == "/varnish_status") {
error 200 "OK";
}
Then check for http "200 OK" in the response code.
- sandip's blog
- Login or register to post comments