Hide Forgot
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.
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?
*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.
No problem at all, this happens more often than you think :)