In start program script exit is not handled properly as done in 5.16 release.

Issue #909 closed
Gautam Shejwalkar created an issue

In 5.16 monit "start program = "/etc/init.d/xyz start" shell script if it exits(If "exit <no>") monit stops monitoring it.
But in 5.26 it is still monitored and every trying to start every time based on the monit monitor cycle.

Comments (2)

  1. Tildeslash repo owner

    Start program exit is not evaluated in 5.16.0 nor in 5.26.0.

    Monit may stop monitoring the service only if the “if X restarts within Y cycles then timeout” is present.

    Please send more details: which service from the configuration which was attached to #907 it is + debug log

  2. Log in to comment