Bug 1306826 - Devel package for collectd needed to build additional plugins
Summary: Devel package for collectd needed to build additional plugins
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: collectd
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ruben Kerkhof
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-11 19:47 UTC by Andrew Neuschwander
Modified: 2016-02-14 10:57 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-13 17:01:10 UTC
Type: Bug


Attachments (Terms of Use)

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 :)


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