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

Lutz Mader <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Hello Ciprian,
to disable all automatic restarts by monit I use "mode passive" only.

> 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.

Monit do not start a service with "mode passive".

But "set onreboot nostart" set all services to "Not monitored" after the
monit restart. This seem to me normal behaviour, I do some tests with
monit 5.27.0 for macOS.

You can not use "set onreboot nostart", if you are interresting in the
monitoring data.

With regards,
Lutz
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.