[collectd] Additional config directory

Florian Forster octo at verplant.org
Mon Mar 17 23:30:51 CET 2008

Hi Richard,

On Mon, Mar 17, 2008 at 03:36:07PM -0500, Richard Shade wrote:
> I want to setup collectd to read additional config files from
> /etc/collectd.d, is this possible with and "Include" statement in
> collectd.conf at the moment?

yes, since version 4.3 you can do that like this:
  Include "/etc/collectd.d/*.conf"

Other shell-wildcards work, too. Version 4.2 can only include single
files, though.

To include the entire directory, including all subdirectories and
(almost) all[1] files within there anywhere, you can simply specify the
directory. This is a new feature in 4.3, too.
  Include "/etc/collectd.d"


[1] All files and directories beginning with a dot are ignored.
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080317/9a14093c/attachment.pgp 

More information about the collectd mailing list