- changed status to resolved
monit does not respect program dependency
If a process has a program dependency, monit should start the program only if the program exits with status ok. monit doesn't do that. It simply monitors the program and starts the process without waiting for the program to return a status ok.
Comments (5)
-
repo owner -
reporter - changed status to open
monit-5.15-beta doesn't seem to have the hard dependencies yet. monit is still starting the process even with the program failing
-
repo owner Please can you start monit in debug mode, reproduce the problem and send full output to support@mmonit.com?
Debug mode:
monit -vI
-
repo owner - changed status to resolved
Thanks for data.
Monit didn’t start the dependant service if the required/parent service failed, but it did allow the test if such dependant/child to be performed.
The problem is fixed, you can get the updated beta here: https://mmonit.com/monit/dist/monit-5.15_beta2.tar.gz
-
repo owner - removed version
Removing version: 5.14 (automated comment)
- Log in to comment
fix Issue
#249: implement hard depedencies→ <<cset c51a0050dc03>>