monit-general
[Top][All Lists]
Advanced

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

Re: [monit] Execute script instead send email notifications


From: support
Subject: Re: [monit] Execute script instead send email notifications
Date: Tue, 13 Apr 2010 13:04:05 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Yes,

it is possible to execute script, just replace 'alert' action with 'exec' and 
specify the script:

  if failed ... then exec "/usr/local/bin/myscript"

Regarding mail: you can specify multiple mail servers in monit configuration so 
if one fails, monit will try next. Also M/Monit allows to send emails in 
centralized environment - Monit agents are reporting to M/Monit and it then 
sends  alerts.

Regards,
M/Monit support


On Mon, Apr 12, 2010 at 06:19:49PM +0200, David Touzeau wrote:
> The main problem is when the SMTP server is down you cannot receive  
> notification in time.
> Is there a way to specify monit executing a script instead send an email ?
>
> Best regards
>
>
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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