Alert on certain error like 503

2011-06-16 Thread Shibashish
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

Re: varnish syntax

2011-06-16 Thread Enno van Amerongen
try sub vcl_recv { if (req.url ~ ^/munin) { return (pass); } } http://www.varnish-cache.org/docs/2.1/reference/vcl.html Robert Recchia wrote: I run word press and munin on the same server - i don't want varnish caching anything /munin so in older varnish releases all i did was

Re: Alert on certain error like 503

2011-06-16 Thread Geoff Simmons
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 06/16/11 01:43 PM, Shibashish wrote: 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

Re: varnish syntax

2011-06-16 Thread Roberto O . Fernández Crisial
Varnish updated VCL syntax on 2.1.x, don't forget to use return(pass) instead just pass. The same for return(deliver), return(error)... Best regards, Roberto O. Fernández Crisial @rofc On Thu, Jun 16, 2011 at 9:24 AM, Robert Recchia robr...@gmail.com wrote: I run word press and munin on the

Re: Alert on certain error like 503

2011-06-16 Thread Jonathan Hursey
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 shi...@gmail.com wrote: Hi, Can varnish be made to send out an alert (mail) in case of an error like

trouble with varnishncsa

2011-06-16 Thread Joshua Levine
I am using ubuntu lucid's default varnish-2.1. A `man varnishncsa` still shows the -b option in the build, however evoking it results in: -b is not valid for varnishncsa Clues? Thank you, Joshua ___ varnish-misc mailing list

Re: Alert on certain error like 503

2011-06-16 Thread Audun Ytterdal
I actually just have a Custom errorpage with javascript that post all relevant info from the client to a phpscript. That phpscript could easily have logic for Sending mail Den 16. juni 2011 kl. 07:18 skrev Jonathan Hursey jonathan.hur...@adrevolution.com: I have varnishncsa writing to a log