[Xymon] alert for non 200 status from log monitoring

deepak deore deepakdeore2004 at gmail.com
Fri Oct 31 21:39:55 CET 2014


Hi,

I want to trigger alert if there is non 200 status in below tomcat access
logs. I have enabled logs monitoring in client-local.cfg, eg. below log has
non-200 status in 3rd field from last.

10.10.10.10 - - [31/Oct/2013:15:45:56 +0000] GET /some/long/url HTTP/1.0
404 2531 161

How can i define that pattern in analysis.cfg, i can define for 404 as
below but would like to alert for all non 200.

LOG %/path/to/log_file/access\.[0-9]*-[0-9]*-[0-9]*\.log " 404 " COLOR=red

Thanks,
Deepak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141031/1dd7e48e/attachment.html>


More information about the Xymon mailing list