[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Log files monitoring
From: |
Marco Ermini |
Subject: |
Re: Log files monitoring |
Date: |
Tue, 03 May 2005 09:40:24 +0200 |
On 5/2/05, SorinS <address@hidden> wrote:
> Hi,
> I was wondering whether there is any plan of implementing alerting for
> certain events in log files. Something like:
>
> check file syslog with path /var/log/messages
> if match "^[A-Za-z][a-z][a-z] .[0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]
>.* .* .*$" then alert
>
> or if match regepx "..." then alert
>
> Monit could maintain the offset of each file (a la logtail) so it would
> check only the last entries.
>
> Sorry if this is a bad ideea, but it would be certainly usefull for me
> right now.
> Cheers,
> Sorin
I don't think this is a bad idea.
I have a similar, but opposite :-) need. I need to produce a custom logfile
instead of the monit's default one. This is needed to integrate Monit with
other proprietary monitoring tools (specifically in my case, HP OpenView)
which are already in place in the server farm.
It would be fine to be able to customize the logfile in a way similar to the
Apache's one.
Regards.
--
Marco Ermini
http://markoer.org - ICQ 50825709 - GPG KEY 0x64ABF7C6 - L.U. #180221
Di fronte alle sofferenze del mondo tu puoi tirarti indietro, sì, questo è
qualcosa che sei libero di fare e che si accorda con la tua natura, ma
precisamente questo tirarsi indietro è l'unica sofferenza che forse potresti
evitare. (F. Kafka)
- Re: Log files monitoring, David Fletcher, 2005/05/02
- Re: Log files monitoring,
Marco Ermini <=
- Re: Log files monitoring - forked Monit and Openview, Peter van der Does, 2005/05/04
- Re: Log files monitoring, Jan-Henrik Haukeland, 2005/05/04
- Re: Log files monitoring, Christian Hopp, 2005/05/05
- Re: Log files monitoring, Sorin S., 2005/05/05
- Re: Log files monitoring, Christian Hopp, 2005/05/05
- Re: Log files monitoring, Jan-Henrik Haukeland, 2005/05/05
- Re: Log files monitoring, SorinS, 2005/05/05
Re: Log files monitoring, Sorin S., 2005/05/04
Re: Log files monitoring, Marco Ermini, 2005/05/05