Hi Viktor, Thanks for the cron job. I’ve seen this suggested before but was hoping that there was a way within monit to disable unmonitoring.
Bach > On Dec 22, 2016, at 12:29 PM, SZÉPE Viktor <[email protected]> wrote: > > Hello Bach! > > There is an ticket on this on Bitbucket. > I was told that unmonitoring is the intended behavior. > > In my monit auto setup script there is a cron job > that turns monitoring back on. > https://github.com/szepeviktor/debian-server-tools/blob/master/monitoring/monit/monit-debian-setup.sh#L200-L227 > > For modern monit-s only! See GitHub history for older monit-s. > > Be advised that safely using my software products needs your full > understanding of what is being done. > > All the best!! > Viktor > > > Idézem/Quoting Bach Nguyen <[email protected]>: > >> Hey all, >> >> From the monit docs, I see there’s a way to limit the number of restarts. >> However, there’s no mention of default behavior of how many restarts monit >> allows before unmonitoring. >> >> How do I configure monit to never unmonitor, and therefore continue to >> attempt to restart indefinitely? >> >> Thanks, >> Bach >> -- >> To unsubscribe: >> https://lists.nongnu.org/mailman/listinfo/monit-general > > > > SZÉPE Viktor > https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md > -- > +36-20-4242498 [email protected] skype: szepe.viktor > Budapest, III. kerület > > > > > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
