[Top][All Lists]

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

Feature request: /etc/monit.d config directory and include support

From: Mark Ferlatte
Subject: Feature request: /etc/monit.d config directory and include support
Date: Wed, 10 Dec 2003 10:49:29 -0800
User-agent: Mutt/1.4.1i

Hi guys,

Would it be possible to add support for configuration directories, similar to
xinetd's /etc/xinetd.d support?  This would make my setup much more convenient.

I have monit configured to watch various services and automatically restart
them when they get updated (using the recently added timestamp changed flag...
thanks for that!).  This is working well so far, but my monitrc is getting
unwieldy, and it's getting sort of annoying to manage.  It also is difficult to
add host specific monit stanzas.

Obviously, this is workaroundable by using a wrapper script around monit that
builds the monitrc from fragments, but that's more error-prone.

Ideally, what I would like is something like:

# Includes this monitrc fragment
include /etc/monitrc.localhost

# include all monitrc fragments in this directory, if monit.d is a dir, 
# otherwise include the file /etc/monit.d
include /etc/monit.d


Attachment: pgpH8_i9hoZ8K.pgp
Description: PGP signature

reply via email to

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