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 <[email protected]>:
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
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