Hi,

this is planned for some future release:
http://www.tildeslash.com/monit/doc/next.php#33


We have not started yet, patches are welcomed :)


Thanks,
Martin



Tom Leasure wrote:
Hi -

Is there any way to to have monit do a check based on the exit code of a bash script?

For example, if the exit code of /root/my_custom_check.sh > 0, then do something.

Sorry if I'm just missing a way to do this from the documentation. Any help would be appreciated!

Thanks,
Tom


------------------------------------------------------------------------

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


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

Reply via email to