Bug 443942 - collectd configuration file problems
Summary: collectd configuration file problems
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: collectd
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Alan Pevec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-24 08:47 UTC by Richard W.M. Jones
Modified: 2008-07-26 06:08 UTC (History)
4 users (show)

Fixed In Version: 4.3.3-2.fc9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-13 02:22:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to add Include to src/collectd.conf.in (203 bytes, patch)
2008-05-06 20:37 UTC, Richard Shade
no flags Details | Diff

Description Richard W.M. Jones 2008-04-24 08:47:26 UTC
(From Richard Shade at Rightscale.com)

One line 126 you use the collectd.conf in src/,  at present I don't think
this will work, there is no "Include "/etc/collectd.d"" in that file so all
subpackages will not work. Also I think the collectd.conf will have the
problem of every config option having /usr/ in front of it. The config in
contrib/redhat/ addresses the problem, but we may want to create a patch for
src/collectd.conf.in.

Comment 1 Richard Shade 2008-05-06 20:37:51 UTC
Created attachment 304687 [details]
patch to add Include to src/collectd.conf.in

Comment 2 Alan Pevec 2008-05-06 21:37:31 UTC
Also need to exclude plugin configs from the main package for those packaged as
subpackages:
--- collectd.spec.orig  2008-05-06 23:33:06.000000000 +0200
+++ collectd.spec       2008-05-06 23:36:04.000000000 +0200
@@ -180,6 +180,12 @@
 
 %config(noreplace) %{_sysconfdir}/collectd.conf
 %config(noreplace) %{_sysconfdir}/collectd.d/
+%exclude %{_sysconfdir}/collectd.d/apache.conf
+%exclude %{_sysconfdir}/collectd.d/email.conf
+%exclude %{_sysconfdir}/collectd.d/mysql.conf
+%exclude %{_sysconfdir}/collectd.d/nginx.conf
+%exclude %{_sysconfdir}/collectd.d/sensors.conf
+%exclude %{_sysconfdir}/collectd.d/snmp.conf
 
 %{_initrddir}/collectd
 %{_bindir}/collectd-nagios


Comment 3 Bug Zapper 2008-05-14 10:03:45 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Richard W.M. Jones 2008-05-27 10:09:17 UTC
They're at it again ... Changing this back to Rawhide.

Comment 5 Fedora Update System 2008-06-12 10:17:01 UTC
collectd-4.3.3-2.fc9 has been submitted as an update for Fedora 9

Comment 6 Fedora Update System 2008-06-13 02:22:41 UTC
collectd-4.3.3-2.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2008-07-26 06:08:20 UTC
collectd-4.3.3-2.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.