>> You can set the monit sleep time (the interval on which it checks the >> service states) >> to be longer than the time needed for starting the desired process > > either by starting monit with parameters > > monit -d 300 > > which tells monit to run as deamon and check the state of monitored > services on 300 secs (5mins) > > or you can set this time in the monitrc file > > set daemon 300 > (which has the same effect as above line) > > Change the 300 to some time longer of the time needed to start the > service, but be careful if you're monitoring other services as well > bacause you may miss some state of services, or you'll experience some > downtime, till the monit refreshes > > Cheers, Jovan
I think that monit, once it's started, checks immediately the processes, wait for x seconds (defined in monitrc) and check again....no ? So, if monit checks processes immediately on daemon-start, changing this parameter will not solve the problem. Vianney -- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general
