Hi Lutz thanks for your help
Yeah i had evaluated that option too, you're right the output of the
program is collected in the monit log, anyway not those of start/stop
scripts.
So it's not enough to implement the check process logic in the program
check script, you need to embed also the startup logic.
And you need to set up two check program if you want to start stop your
service using monit, maybe too machinary.. do you mean that?
On 03/12/20 09:48, Lutz Mader wrote:
Hello Luca,
yes, sometimes I missed some script/program output too.
For some scripts I am interresting in the output I use "check program".
This works well and support "start program" and "stop program" and you
can use the script status check to test the application as long as you
get a useful status code from the script.
A suggestion only,
Lutz