Need help with a watch

alerting

(Rvalta) #1

Hi, I am trying to create a watch script that alerts me once when I get > 100 http response 404 status codes in my logs during a 5 minute timeframe.

At the moment my script looks like this: http://hastebin.com/okorulesuc.vhdl

The problem is that at the moment it alerts me every time the watch sees a 400 response code in a log event. Can someone help me, thank you? :smile:


(system) #2