[Top][All Lists]

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

Re: Monit start delay only on boot

From: address@hidden
Subject: Re: Monit start delay only on boot
Date: Mon, 3 Jun 2019 21:53:01 +0200

Hi Dave,

if monit depends on some services on your system, it'll be maybe better to set the dependencies and drop the start delay option from the configuration file.

Best regards,

On 1 Jun 2019, at 21:31, David Jones <address@hidden> wrote:

Loving monit.  Just started using it a few months ago to deploy certs from a central server to about 800 servers/VMs.  Monit will restart/reload each service (Apache, Postfix, Haproxy, Nginx, etc.) that references an LE cert when it's renewed every 60 days.  This is working great.

I am remotely monitoring Monit using Icinga/Nagios and they are working very well together.  I am moving many of my Icinga checks into Monit using scripts to generate /etc/monit.d/*.cfg files custom for each server.  Then a single Icinga/Nagios check using will be customized to each box.

The only minor issue is the delay start that is needed for bootup but causes "connection refused" in the monit web interface used by when monit restarts.

Would it be possible to have an option added to only delay XX seconds on a fresh boot where the uptime is less than a few minutes?  Or allow the monit web interface to immediately accept connections if a recent statefile exists?


reply via email to

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