I've set up an item to monitor Apache logs for 500-errors in order to troubleshoot a misbehaving backed, as follows
I would like a problem being triggered if more than 30 error's is detected within 60 seconds.
I've done so with the following trigger
The problem is that even though lots of non-500 (i.e. http 200) is coming in, the trigger gets stuck in problem state.
Can anyone please point me in the right direction or perhaps give examples about how to set this up.
Code:
logrt[{$APACHE_LOG_LOCATION},HTTP\/\d\.\d"\s50\d\s,,,skip]
I've done so with the following trigger
Code:
count(/Apache error logs/logrt[{$APACHE_LOG_LOCATION},HTTP\/\d\.\d"\s60\d\s,,,skip],60s)>30
Can anyone please point me in the right direction or perhaps give examples about how to set this up.