[collectd] FR: SysV-style collectd.conf? (was: insecure tmpfile creation in collection.cgi)

Florian Forster octo at verplant.org
Sat Feb 9 23:45:31 CET 2008


Hi Michael,

On Tue, Jan 22, 2008 at 11:06:34PM +0200, Michael Shigorin wrote:
> Got a feature request though: is it interesting to enable SysV-like
> configuration style, e.g. so that collectd.conf could include
> /etc/collectd.d/*.conf with all of them uncommented sitting in e.g.
> examples/?

You're absolutely right, this is a nice feature to have. I have today
enhanced the `Include' statement so it can handle entire
directories. You can now say
  Include "/etc/collectd.d"
which will (recursively) include all files found within that directory.
Symlinks are followed, so it's the user's responsibility to avoid loops
like
  # ln -s .. foo

The changes will go into 4.3, so if you want to give them a try you
should try the current development version or get a snapshot from
Sebastian's site.

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- 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/20080209/8024d5c4/attachment.pgp 


More information about the collectd mailing list