Alert on certain error like 503

Anand anand at
Thu Jun 16 14:09:13 CEST 2011

Instead act in a correct way to handle those errors. 


Two remedies from my side:


1.	503 normally occurs when your backend does not respond. Increase you
timeouts. Connect timeout by default is 0.004 sec.
2.	Redirect it to another URL using vcl_error. Intelligence with
elegant user experience. 







From: varnish-misc-bounces at
[mailto:varnish-misc-bounces at] On Behalf Of Shibashish
Sent: 16 June 2011 17:14
To: varnish-misc at
Subject: Alert on certain error like 503




Can varnish be made to send out an alert (mail) in case of an error like
503? I do have a monitoring solution but i can't add all the urls for
monitoring. Sometimes varnish gives a 503 and i need to be alerted during
that time.


Another option can be to keep looking for 503 errors. log them as they occur
and keep watching that file.

while ( ! ( succeed = try() ) );

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list