[Top][All Lists]

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

RE: Monit alert execute script

From: Poffet Gaël
Subject: RE: Monit alert execute script
Date: Thu, 6 Dec 2012 16:45:37 +0100

Thanks for your email. I have seen this possibilities but there some limitation:

- It must be defined for each monitoring configuration
- When we use exec we replace the default alert so we don't receive the emails 

Any idea ?

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Martin Pala
Sent: Thursday, 06 December 2012 16:42
To: This is the general mailing list for monit
Subject: Re: Monit alert execute script


you can use the exec action:

 check file httpd.conf path /usr/local/apache/conf/httpd.conf
     if changed checksum then exec "/usr/local/apache/bin/apachectl graceful"

The alert is implicit (sent along then exec)


On Dec 6, 2012, at 4:37 PM, Poffet Gaël <address@hidden> wrote:

> Hello,
> My monit installation works well. Now I would like to go a bit further.
> I need to have monit, in addition of sending email, to execute a local shell 
> script. Is it possible to do that ?
> I didn't found any exemple on the net. Thanks in advance Gael
> --
> To unsubscribe:

To unsubscribe:

reply via email to

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