Hi,

yes, both Monit and M/Monit can execute script upon event.

Example:
 check file httpd.conf with path /usr/local/apache/conf/httpd.conf
     # Reload apache if the httpd.conf file was changed
     if changed checksum then exec "/usr/local/apache/bin/apachectl graceful"

See monit manual for more details: 
http://www.mmonit.com/monit/documentation/monit.html

Similar functionality is in M/Monit rules, manual here: 
http://www.mmonit.com/documentation/


Regards,
Martin


On Sep 30, 2010, at 4:25 PM, Mark Olliver wrote:

> Hi All,
> 
> Is there a way to run a custom alert script instead of using email to alert. 
> We have a monitoring system which looks after and logs all actions on our 
> systems letting the correct people know depending on the alert and it would 
> be good it we could plug in to this.
> 
> Thanks
> 
> Mark
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general

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

Reply via email to