Hi, This question is asked before also but I can't find the answer to it. The topic can be found here (http://nongnu.13855.n7.nabble.com/Monit-restarting-app-without-waiting-for-the-indicated-number-of-cycles-to-complete-if-mem-gt-100MB--td803.html).
The snippet of code that I am having in a monitrc file is as below: check file checkFile with path pathToFile stop program = "any program to stop" start program = "any program to start" if timestamp > 4 minute for 8 cycles then restart This is what happening when I run the monit (5.18): The first time when it fails the timestamp check, it waits for 8 cycles to get it updated and if it is not updated, it then restarts the dependent applications. This is expected behavior. But when the timestamp check fails second time, it doesn't wait for 8 cycles (As it is showing in log files). It just restarts the application when the timestamp fails. Is this the expected behavior of monit? Thanks in Advance asurti -- Sent from: http://nongnu.13855.n7.nabble.com/monit-general-f4.html -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
