Monitoring Unix logs
Andreas Ericsson
ae at op5.se
Tue Feb 8 10:52:28 CET 2005
Ian Chard wrote:
> Hi,
>
> I'm wondering how other Nagios users use check_log to monitor their
> Unix logs. I've got my Nagios server also acting as a central syslog
> server, so I have all messages in one place and run check_log over
> all of them. I have a couple of questions:
>
> - is it best to set these services up as volatile?
Yes.
> - has anyone compiled a list of "bad words" to watch for in the logs
> of particular version of Unix?
>
No. That would be highly individual, so there isn't much chance of any
such one being very portable.
> Incidentally, the first thing I did was modify check_log so that it
> uses egrep instead of grep (so I can match things like "error|warning").
>
Probably a good idea. Or you could have used check_log2.pl, which does
pcre matching.
> Cheers
> - Ian
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list