Alert on certain error like 503

Jonathan Hursey jonathan.hursey at adrevolution.com
Thu Jun 16 16:18:04 CEST 2011


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.

On Thu, Jun 16, 2011 at 6:43 AM, Shibashish <shib4u at gmail.com> wrote:

> 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
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
*Jonathan M. Hursey*
*Linux Systems Administrator*

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


More information about the varnish-misc mailing list