the problem appears if you set the statefile to /dev/null or if you start
monit for the first time. When starting monit for the first time, the
statefile does not exist yet. So the behavior is the same in that case.
So in that case if you start the daemons via "monit start all" the
daemons are started, but if you observe the daemons via "monit summary"
the status is "Not monitored".
Until commit 4953651474008e67479cc00700bae86035de64a8 (5.26.some) the
status was "OK".
See https://github.com/marvinthepa/monit_bug_repro for a setup how to
reproduce the bug.
I tested on “OpenBSD 7.0 GENERIC.MP#1 amd64” and on“Linux version
5.4.0-97-generic (Ubuntu 9.3.0-17ubuntu1~20.04)“
With kind regards