Bug 1306826

Summary: Devel package for collectd needed to build additional plugins
Product: [Fedora] Fedora EPEL Reporter: Andrew Neuschwander <andrew.neuschwander>
Component: collectdAssignee: Ruben Kerkhof <ruben>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: gregswift, jskarvad, kevin, mhlavink, rh, ruben
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-13 17:01:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Andrew Neuschwander 2016-02-11 19:47:18 UTC
Description of problem: 

Building plugins not included in collectd, such as collectd-write_graphite, requires downloading and building all of collectd (i.e. executing the "rpmbuild -bc collectd.spec" stage to get config.h").

The current epel7 collectd package does not include sufficent headers or pkg-config information to build plugins. The collectd package currently includes:

# rpm -ql collectd | grep [ch]$
/usr/include/collectd/client.h
/usr/include/collectd/lcc_features.h
/usr/include/collectd/network.h
/usr/include/collectd/network_buffer.h
/usr/lib64/pkgconfig/libcollectdclient.pc


Specifically, to build the collectd-write_graphite plugin, the following header files are needed from the collectd source:

src/daemon/collectd.h
src/daemon/common.h
src/daemon/plugin.h
src/daemon/configfile.h
src/daemon/utils_cache.h
src/daemon/utils_time.h
src/daemon/meta_data.h
src/config.h
src/utils_parse_option.h
src/liboconfig/oconfig.h


Other plugins may need additional header files.

Comment 1 Ruben Kerkhof 2016-02-13 13:39:52 UTC
write_graphite is part of collectd. Just install the collectd-write_graphite package.

I'm not entirely sure what you're asking.
Is there a specific plugin you're missing in EPEL?

Comment 2 Andrew Neuschwander 2016-02-13 17:01:10 UTC
*facepalm* I'm so sorry. I didn't see a collectd-write_graphite package and didn't look it the main package. I didn't realized it was included in the upstream source package. I was referred to the write_graphite github page as a starting point.

Comment 3 Ruben Kerkhof 2016-02-14 10:57:21 UTC
No problem at all, this happens more often than you think :)