Red Hat Bugzilla – Bug 719809
collectd-web config file DataDir value wrong
Last modified: 2011-12-22 22:25:33 EST
Description of problem:
collectd.spec generates /etc/collectd.d/rrdtool.conf , but does not include sufficient information to make it usable directly. The missing stanza should look like:
However, collectd-web provides /etc/collection.conf, which specifies DataDir as "/var/lib/collectd".
Furthermore, the default collected /etc/collectd.conf file provided has a commented-out stanza for rrdtool, as such:
# DataDir "/usr/var/lib/collectd/rrd"
# CacheTimeout 120
# CacheFlush 900
which suggests that /var/lib/collectd/rrd would be appropriate. (note also, each of those suggest /usr/var/lib/... instead of simply /var/lib, that should be fixed somehow as well...)
I suggest adding to collectd.spec to write out the stanza above into rrdtool.conf, and fix /etc/collection.conf to use /var/lib/collectd/rrd as the default value for DataDir. In this way, installing collectd-rrdtool and collected-web, everything will "just work" out of the box.
Version-Release number of selected component (if applicable):
collectd-4.9.5-2.fc14, but appears similar in 4.10.3-4.
collectd-4.10.4-1.fc16 has been submitted as an update for Fedora 16.
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing collectd-4.10.4-1.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
collectd-4.10.4-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.