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: [email protected]
[mailto:[email protected]] On Behalf Of Shibashish
Sent: 16 June 2011 17:14
To: [email protected]
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() ) );

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to