Is there a way to tell Monit to monitor by default all new services?

Ciprian Dorin Craciun <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <CA+Tk8fxKdHXtigMWB4DJOy+BvwzYPB9+cugcX7U-6bDiQKFWrw@mail.gmail.com>
(This email is related to my other one, where on reboot I sometimes
encounter a situation when Monit seems to forget its state and set all
services and items on unmonitored.)

At the moment I explicitly set for all my services and items `mode
passive onreboot nostart` because I don't want Monit to start / stop
any services;  I just want Monit to monitor and report.

However when adding a new service (or when Monit starts without a
state file), by default Monit sets all the services and items on the
state "unmonitored".

Is there a configuration option that would by default set everything
to monitored (but not start / stop)?  Something like say `mode monitor
onreboot nostart`.

Thanks,
Ciprian.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.