In our current system, we are not effectively monitoring the logs for errors as most of the errors are not serious enough. I want to basically warn users on the important errors. I cannot touch the code, so I cannot change these messages type to fatal.

So, I want to write scripts searching logs for the regex of the important error messages. Is there a opensource software package that does this?

link|improve this question
Everything you need to do this is already inluded with Linux.A bash or perl script managed by a cron job would do what you want. – Joe Internet Jul 28 '11 at 7:04
feedback

2 Answers

You could do this with nagios. The nrpe plugin allows you to execute custom scripts on a machine. Such a script could easily parse a log and report back the results.

There are already many plugins so you may not need to write anything

link|improve this answer
feedback

For general use (with system log for example), you can try out yaala or petit.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.