|Subject:||can monit 5.2.5 execute a script when it times out?|
|Date:||Mon, 6 Jun 2011 21:05:45 -0400|
I know I can do
If 5 restarts in 5 cycles then timeout
If 5 restarts in 5 cycles then exec "/path/to/cool/script"
But I can't figure out how to do this:
If 5 restarts in 5 cycles then timeout and exec "/path/to/cool/script"
It seems like monit is the logical place to put cleanup scripts for when a process can't be restarted. How can I do this?
|[Prev in Thread]||Current Thread||[Next in Thread]|