Alert on certain error like 503

Anand anand at rediff-inc.com
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. 

 

 

Regards,

   Anand

                                                                   

  _____  

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

 

Hi,

 

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.


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110616/24c556bd/attachment-0003.html>


More information about the varnish-misc mailing list