how can I receive alerts for every new trigger matched for 'LOG'
hi, there, I have a LOG check for "error: #1" "error: #2" in a log file. We'd like to receive email alerts for each every trigger matched, "%error: #" since we needs to know the all the error # reported. Right now, it generates email alerts. but not for every new triggers. No alerts are generated for a newly matched trigger log entry if the STATUS is red/yellow already. In my thinking, if the LOG check itself can be RECOVERED after 5m (I believe the default is 30m), this ought work.
- Does anybody know how to change the default from 30m to 5m (for a single check/test)?
- Any alternative/recommendations to get the desired results? I initially thought a 'creative' combination of 'REPEAT=5 DURATION<10' would do it...
Sounds a bit like a question I posted two weeks ago: Hobbit responds on status-changes (green-.yellow->red->etc). You can make it detect several issues, but when another issue comes up and the status itself does not change, you will not be notified.
Although the GROUP-keyword for DISK and PROC adds granularity, this is not possible for LOG (yet?!) and although the GROUP-keyword is very powerful, the above remains so this does not solve your problem.
Regards, Peter
2006/11/27, Jerry Yu <jjj863 at gmail.com>:
hi, there, I have a LOG check for "error: #1" "error: #2" in a log file. We'd like to receive email alerts for each every trigger matched, "%error: #" since we needs to know the all the error # reported. Right now, it generates email alerts. but not for every new triggers. No alerts are generated for a newly matched trigger log entry if the STATUS is red/yellow already. In my thinking, if the LOG check itself can be RECOVERED after 5m (I believe the default is 30m), this ought work.
Does anybody know how to change the default from 30m to 5m (for a single check/test)? Any alternative/recommendations to get the desired results? I initially thought a 'creative' combination of 'REPEAT=5 DURATION<10' would do it...
the LOG check clears itself after 30m, if it didn't see the offending entries again. If this 30m can be changed to 5m or 6m, then, I can get new offenders (as it will trigger status change for certain).
On 11/28/06, Peter Welter <peter.welter at gmail.com> wrote:
Sounds a bit like a question I posted two weeks ago: Hobbit responds on status-changes (green-.yellow->red->etc). You can make it detect several issues, but when another issue comes up and the status itself does not change, you will not be notified.
Although the GROUP-keyword for DISK and PROC adds granularity, this is not possible for LOG (yet?!) and although the GROUP-keyword is very powerful, the above remains so this does not solve your problem.
Regards, Peter
2006/11/27, Jerry Yu <jjj863 at gmail.com>:
hi, there, I have a LOG check for "error: #1" "error: #2" in a log file. We'd like to receive email alerts for each every trigger matched, "%error: #" since we needs to know the all the error # reported. Right now, it generates email alerts. but not for every new triggers. No alerts are generated for a newly matched trigger log entry if the STATUS is red/yellow already. In my thinking, if the LOG check itself can be RECOVERED after 5m (I believe the default is 30m), this ought work.
Does anybody know how to change the default from 30m to 5m (for a single check/test)? Any alternative/recommendations to get the desired results? I initially thought a 'creative' combination of 'REPEAT=5 DURATION<10' would do it...
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (2)
-
jjj863@gmail.com
-
peter.welter@gmail.com