- changed status to on hold
call action from other related checks
Issue #91
on hold
I am missing a kind of 'FORWARD' action that would allow cross-service interaction
For example if file check sees memory error in Tomcat log it could call generic restart of the service related to this log ... THEN FORWARD RESTART for service USER1_TOMCAT
We can then reuse actions existing in other services rather then defining it again in 'check file'
Comments (1)
-
repo owner - Log in to comment
This will be added as well as the option to perform several actions:
In the meantime, a workaround using exec can be used, where you call Monit itself with the service. Something like
if X then exec "/usr/local/bin/monit restart apache"