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


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to