Hello Ciprian,
this is a useful setting.

> My conclusion:  the "correct" setting should be `mode passive onreboot
> laststate`.

As long as you are aware that all services are "stopped"/"not monitored"
not monitored again. But you should get no problems because you said
monit is used for monitoring purpose only.

To do a "restart" test without a restart I stop monit and delete the
".monit.state" file. After monit is up again, monit can not detect the
last state and think it is a restart.

With regards,
Lutz

Reply via email to