Package: collectd
Version: 5.1.0-3
Priority: minor

Reported on Ubuntu LP #1206813 [1]. Filing against version 5.1.0-3 as that
is the current downstream package in Ubuntu, but I confirmed this issue is
present up to the 5.4.0-1 version in sid.

In the collectd.conf sample configuration in the Debian package there is a
commented out write_mongodb plugin section that has no </Node> tag, it
instead has another <Node> tag at the end (line 3149 of
collectd_5.1.0-3.diff). If someone attempts to enable this module it will
fail parsing the configuration file instead of because the write_mongodb
plugin is not available.

The simplest fix for this would be to correct the syntax error.

A more comprehensive solution, which might also reduce confusion, would be
to remove the write_mongodb plugin sample configuration entirely, since
that plugin cannot be compiled on Debian due to missing dependencies.

Thanks,
Bryan

[1] https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1206813

Reply via email to