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 <[email protected]> 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 > [email protected] > http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc > -- *Jonathan M. Hursey* *Linux Systems Administrator* * *
_______________________________________________ varnish-misc mailing list [email protected] http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
