Not in Monit ... M/Monit-2.3 however allows to execute scripts upon event based on custom rules ... see attached screenshot where rule to execute text-to-speach program upon event:
On Oct 5, 2010, at 4:34 PM, Mark Olliver wrote:
Is is possible to make this a global alert, so instead of using alert to go to mail it uses the exec script instead?
On 1 October 2010 18:52, Martin Pala <address@hidden>
yes, both Monit and M/Monit can execute script upon event.
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"
On Sep 30, 2010, at 4:25 PM, Mark Olliver wrote:
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.