[collectd] 4.0.0-rc3 - missing example config file

Florian Forster octo<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>verplant.org
Sun Apr 8 12:11:01 CEST 2007

Hi Michael,

On Sun, Apr 08, 2007 at 01:20:33AM +0200, Michael Poetters wrote:
> i'm missing a sample config file for version 4.0, because of:

the sample configfile is installed in `$sysconfdir/collectd.conf' or
`$sysconfdir/collectd.conf.pkg-orig' if a configfile already exists.
After running `./configure' it's also found in `src/collectd.conf'.

> -- snip --
> Error in line 1 near `/': syntax error
> yyparse returned error #1
> Error: Reading the config file failed!
> Read the syslog for details.
> -- snip --
> -- configfile --
> Hostname  nahooya
> DataDir   /home/ratte/tmp/build/c4/collectd-4.0.0-rc3/src/data
> PIDFile   /home/ratte/tmp/build/c4/collectd-4.0.0-rc3/src/collectd.pid
> PluginDir /home/ratte/tmp/build/c4/collectd-4.0.0-rc3/src

The new configfile format is described in the manpage, but this is
definitely that would need to be mentioned in a transition-paper:
Strings (such as the paths) need to be enclosed in double-quotes. The
only exception are strings that match /^([A-Za-z0-9_]*)$/, so generally
keys (like, `Hostname') or plugin-names (like `nut') so not need to be

> But syslog didn't tell anything (strace neither...).

I'll look into throwing more descriptive errors, ideally containing the
linenumber in which the error occured.

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/20070408/ce05a116/attachment.pgp

More information about the collectd mailing list