From: address@hidden [mailto:address@hidden On Behalf Of Anthony Griffiths Sent: domingo, 20 de Abril de 2014 21:36 To: This is the general mailing list for monit Subject: Re: trigger for asterisk log file
yes it is. I'm only a beginner with monit but I got it to do that.
In the control file you could try this:
check file asterisk with path /path/to/asterisk/log
if match "<your word>" then exec "echo "<your message> | mailx -s "monit detection" address@hidden"