I have varnishncsa writing to a log file and a shell script that greps out all 5XX errors then reports via Nagios if they exceed a certain number. <br><br><div class="gmail_quote">On Thu, Jun 16, 2011 at 6:43 AM, Shibashish <span dir="ltr"><<a href="mailto:shib4u@gmail.com">shib4u@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<div><br></div><div>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.</div>
<div><br></div><div>Another option can be to keep looking for 503 errors. log them as they occur and keep watching that file.</div><div><br clear="all">ShiB.<br>while ( ! ( succeed = try() ) );<br>
</div>
<br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div><br><br clear="all"><br>-- <br><b>Jonathan M. Hursey</b><br>
<div><i>Linux Systems Administrator</i></div><div><br></div><div><i><br></i></div><br>