[email protected] 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 ?


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

Reply via email to