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: David Touzeau
Subject: Re: [monit] Execute script instead send email notifications
Date: Wed, 14 Apr 2010 10:06:38 +0200
User-agent: Thunderbird 2.0.0.24 (X11/20100411)



address@hidden wrote:
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


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

I would like to send to the script tokens used in the notification template, but i have read that this feature is not available.
Is there a plan to provide such feature in the future ?




reply via email to

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