monit-general
[Top][All Lists]
Advanced

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

Re: trigger for asterisk log file


From: Anthony Griffiths
Subject: Re: trigger for asterisk log file
Date: Sun, 20 Apr 2014 21:36:12 +0100

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"



On Sun, Apr 20, 2014 at 9:12 PM, Jorge Bastos <address@hidden> wrote:

Hi,

 

Is monit able to send an email when certain word appears in asterisk’s log ?

 

Jorge,


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


reply via email to

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