monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configure monit to never unmonitor


From: SZÉPE Viktor
Subject: Re: Configure monit to never unmonitor
Date: Thu, 22 Dec 2016 21:56:23 +0100
User-agent: Horde Application Framework 5

I think there is no way to monitor a system thoroughly without small scripts

See *_script files in
https://github.com/szepeviktor/debian-server-tools/tree/master/monitoring/monit/services

For example monit it not able to tell whether Spamassassin is alive - no shell script support in "check program"
https://github.com/szepeviktor/debian-server-tools/blob/master/monitoring/monit/services/spamassassin_script

or our system is consistent
https://github.com/szepeviktor/debian-server-tools/blob/master/monitoring/monit/services/01-system_script



Idézem/Quoting Bach Nguyen <address@hidden>:

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 <address@hidden> 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 <address@hidden>:

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  address@hidden  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



SZÉPE Viktor
https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
--
+36-20-4242498  address@hidden  skype: szepe.viktor
Budapest, III. kerület







reply via email to

[Prev in Thread] Current Thread [Next in Thread]