summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/collectd/collectd-5.5.1-r1.ebuild (renamed from app-admin/collectd/collectd-5.5.1.ebuild)8
-rw-r--r--app-admin/collectd/metadata.xml1
2 files changed, 5 insertions, 4 deletions
diff --git a/app-admin/collectd/collectd-5.5.1.ebuild b/app-admin/collectd/collectd-5.5.1-r1.ebuild
index 2f0983f3112c..441d156f1b58 100644
--- a/app-admin/collectd/collectd-5.5.1.ebuild
+++ b/app-admin/collectd/collectd-5.5.1-r1.ebuild
@@ -31,7 +31,6 @@ IUSE="contrib debug java kernel_Darwin kernel_FreeBSD kernel_linux perl selinux
# pf: Requires BSD packet filter
# pinba: Requires MySQL Pinba engine (http://pinba.org/)
# tape: Requires libkstat (Solaris only)
-# write_kafka: Requires librdkafka
# write_mongodb: https://github.com/collectd/collectd/issues/492
# xmms: Requires libxmms (v1)
COLLECTD_IMPOSSIBLE_PLUGINS="apple_sensors aquaero mic netapp pf pinba tape write_kafka write_mongodb xmms"
@@ -48,7 +47,7 @@ COLLECTD_TESTED_PLUGINS="amqp aggregation apache apcups ascent battery bind ceph
routeros rrdcached rrdtool sensors serial sigrok smart snmp statsd swap syslog
table tail tail_csv target_notification target_replace target_scale target_set
tcpconns teamspeak2 ted thermal threshold tokyotyrant turbostat unixsock uptime
- users uuid varnish virt vmem vserver wireless write_graphite write_http
+ users uuid varnish virt vmem vserver wireless write_graphite write_http write_kafka
write_log write_redis write_riemann write_sensu write_tsdb zfs_arc zookeeper"
COLLECTD_DISABLED_PLUGINS="${COLLECTD_IMPOSSIBLE_PLUGINS}"
@@ -111,6 +110,7 @@ COMMON_DEPEND="
collectd_plugins_varnish? ( www-servers/varnish )
collectd_plugins_virt? ( app-emulation/libvirt dev-libs/libxml2:= )
collectd_plugins_write_http? ( net-misc/curl )
+ collectd_plugins_write_kafka? ( >=dev-libs/librdkafka-0.9.0.99:= )
collectd_plugins_write_redis? ( dev-libs/hiredis:= )
collectd_plugins_write_riemann? ( dev-libs/protobuf-c )
@@ -138,8 +138,8 @@ REQUIRED_USE="
collectd_plugins_python? ( ${PYTHON_REQUIRED_USE} )"
PATCHES=(
- "${FILESDIR}/${PN}-4.10.3"-werror.patch
- "${FILESDIR}/${PN}-5.5.1"-{libocci,lt,nohal}.patch
+ "${FILESDIR}"/${PN}-4.10.3-werror.patch
+ "${FILESDIR}"/${PN}-5.5.1-{libocci,lt,nohal}.patch
)
# @FUNCTION: collectd_plugin_kernel_linux
diff --git a/app-admin/collectd/metadata.xml b/app-admin/collectd/metadata.xml
index cbf3a3e55494..92f5d3c8f7b9 100644
--- a/app-admin/collectd/metadata.xml
+++ b/app-admin/collectd/metadata.xml
@@ -143,6 +143,7 @@
<flag name="collectd_plugins_wireless">Build the wireless input plugin (collects signal quality, signal power and signal-to-noise ratio for wireless LAN cards)</flag>
<flag name="collectd_plugins_write_graphite">Build the write_graphite output plugin (stores values in Carbon, the storage layer of Graphite)</flag>
<flag name="collectd_plugins_write_http">Build the write_http output plugin (sends metrics to a web-server using HTTP POST requests)</flag>
+ <flag name="collectd_plugins_write_kafka">Build the Kafka output plugin (sends metrics to Apache Kafka)</flag>
<flag name="collectd_plugins_write_log">Build the write_log output plugin (writes metrics to a file)</flag>
<flag name="collectd_plugins_write_mongodb">Build the MongoDB output plugin (writes metrics to a MongoDB)</flag>
<flag name="collectd_plugins_write_redis">Build the Redis output plugin (stores values in Redis)</flag>