monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Log files monitoring


From: SorinS
Subject: Log files monitoring
Date: Sun, 1 May 2005 23:48:53 +0100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]