Re: Sometimes when restarting Monit it resets all services to unmonitored
Ciprian Dorin Craciun <[email protected]> Thu, 6 Aug 2020 22:23:13 +0300
| Newsgroups | gmane.comp.monitoring.monit.general |
|---|---|
| Message-ID | <CA+Tk8fxe88PHXiCQFeTpgyv9=mQU+WDdg8q_Ta_P-GHzZ=NZ9g@mail.gmail.com> |
I have just rebooted one of the systems, and once restarted again I encountered the "unmonitored" status. This time I've checked the logs: ~~~~ Monit daemon with pid [32657] stopped 'system' Monit 5.25.1 stopped Starting Monit 5.25.1 daemon with http interface at [127.156.202.230]:8080 Monit start delay set to 30s 'system' Monit 5.25.1 started ~~~~ And all my services have the status: ~~~~ status Not monitored monitoring status Not monitored monitoring mode passive on reboot nostart ~~~~ So, given that I can't reproduce this on (all) normal monit restart, but only on (most) reboots, I am wondering if there Monit doesn't somehow detect a reboot and does something different in that case? Ciprian.