All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0
@ 2016-12-22  1:59 Gustavo Zacarias
  2016-12-22  1:59 ` [Buildroot] [PATCH 02/14] collectd: add notify_nagios plugin support Gustavo Zacarias
                   ` (13 more replies)
  0 siblings, 14 replies; 22+ messages in thread
From: Gustavo Zacarias @ 2016-12-22  1:59 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/collectd/collectd.hash | 2 +-
 package/collectd/collectd.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/collectd/collectd.hash b/package/collectd/collectd.hash
index d385c0d..2accf83 100644
--- a/package/collectd/collectd.hash
+++ b/package/collectd/collectd.hash
@@ -1,2 +1,2 @@
 # From https://collectd.org/files/SHA256SUM
-sha256	017f3a4062187e594d8ab6af685655fb82a8a942dc574668e68242bdb8ba820f	collectd-5.5.2.tar.bz2
+sha256	25a05fbdc6baad571554342bbac6141928bf95a47fc60ee3b32e46d0c89ef2b2	collectd-5.7.0.tar.bz2
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 4846ee4..ccb2f11 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-COLLECTD_VERSION = 5.5.2
+COLLECTD_VERSION = 5.7.0
 COLLECTD_SITE = http://collectd.org/files
 COLLECTD_SOURCE = collectd-$(COLLECTD_VERSION).tar.bz2
 COLLECTD_CONF_ENV = ac_cv_lib_yajl_yajl_alloc=yes
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 02/14] collectd: add notify_nagios plugin support
  2016-12-22  1:59 [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Gustavo Zacarias
@ 2016-12-22  1:59 ` Gustavo Zacarias
  2016-12-23 21:38   ` Peter Korsgaard
  2016-12-22  1:59 ` [Buildroot] [PATCH 03/14] collectd: drop notify_email global disable Gustavo Zacarias
                   ` (12 subsequent siblings)
  13 siblings, 1 reply; 22+ messages in thread
From: Gustavo Zacarias @ 2016-12-22  1:59 UTC (permalink / raw)
  To: buildroot

Add explicit support for the new notify_nagios dependency-less plugin.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/collectd/Config.in   | 5 +++++
 package/collectd/collectd.mk | 1 +
 2 files changed, 6 insertions(+)

diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 6405af6..72e5793 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -75,6 +75,11 @@ config BR2_PACKAGE_COLLECTD_NOTIFY_EMAIL
 comment "notify_email needs a toolchain w/ dynamic library"
 	depends on BR2_STATIC_LIBS
 
+config BR2_PACKAGE_COLLECTD_NOTIFY_NAGIOS
+	bool "notify_nagios"
+	help
+	  Sends notifications to Nagios as a passive check result.
+
 config BR2_PACKAGE_COLLECTD_SYSLOG
 	bool "syslog"
 	default y
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index ccb2f11..942ba38 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -77,6 +77,7 @@ COLLECTD_CONF_OPTS += \
 	$(if $(BR2_PACKAGE_COLLECTD_NGINX),--enable-nginx,--disable-nginx) \
 	$(if $(BR2_PACKAGE_COLLECTD_NOTIFICATION),--enable-target_notification,--disable-target_notification) \
 	$(if $(BR2_PACKAGE_COLLECTD_NOTIFY_EMAIL),--enable-notify_email,--disable-notify_email) \
+	$(if $(BR2_PACKAGE_COLLECTD_NOTIFY_NAGIOS),--enable-notify_nagios,--disable-notify_nagios) \
 	$(if $(BR2_PACKAGE_COLLECTD_NTPD),--enable-ntpd,--disable-ntpd) \
 	$(if $(BR2_PACKAGE_COLLECTD_OLSRD),--enable-olsrd,--disable-olsrd) \
 	$(if $(BR2_PACKAGE_COLLECTD_OPENLDAP),--enable-openldap,--disable-openldap) \
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 03/14] collectd: drop notify_email global disable
  2016-12-22  1:59 [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Gustavo Zacarias
  2016-12-22  1:59 ` [Buildroot] [PATCH 02/14] collectd: add notify_nagios plugin support Gustavo Zacarias
@ 2016-12-22  1:59 ` Gustavo Zacarias
  2016-12-23 21:38   ` Peter Korsgaard
  2016-12-22  1:59 ` [Buildroot] [PATCH 04/14] collectd: explicitly disable zone plugin Gustavo Zacarias
                   ` (11 subsequent siblings)
  13 siblings, 1 reply; 22+ messages in thread
From: Gustavo Zacarias @ 2016-12-22  1:59 UTC (permalink / raw)
  To: buildroot

It's a no-op since it's disabled/enabled by the config knob.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/collectd/collectd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 942ba38..060fe0a 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -16,7 +16,7 @@ COLLECTD_LICENSE_FILES = COPYING
 COLLECTD_PLUGINS_DISABLE = \
 	amqp apple_sensors aquaero ascent barometer dbi email \
 	gmond hddtemp ipmi java libvirt lpar lvm madwifi mbmon \
-	mic multimeter netapp notify_desktop notify_email numa \
+	mic multimeter netapp notify_desktop numa \
 	nut onewire oracle perl pf pinba powerdns python redis routeros \
 	rrdcached sigrok tape target_v5upgrade teamspeak2 ted \
 	tokyotyrant turbostat uuid varnish virt vserver write_kafka \
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 04/14] collectd: explicitly disable zone plugin
  2016-12-22  1:59 [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Gustavo Zacarias
  2016-12-22  1:59 ` [Buildroot] [PATCH 02/14] collectd: add notify_nagios plugin support Gustavo Zacarias
  2016-12-22  1:59 ` [Buildroot] [PATCH 03/14] collectd: drop notify_email global disable Gustavo Zacarias
@ 2016-12-22  1:59 ` Gustavo Zacarias
  2016-12-23 21:38   ` Peter Korsgaard
  2016-12-22  1:59 ` [Buildroot] [PATCH 05/14] collectd: explicitly disable xencpu plugin Gustavo Zacarias
                   ` (10 subsequent siblings)
  13 siblings, 1 reply; 22+ messages in thread
From: Gustavo Zacarias @ 2016-12-22  1:59 UTC (permalink / raw)
  To: buildroot

It's intended for solaris so no usage case for buildroot.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/collectd/collectd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 060fe0a..1fec414 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -20,7 +20,7 @@ COLLECTD_PLUGINS_DISABLE = \
 	nut onewire oracle perl pf pinba powerdns python redis routeros \
 	rrdcached sigrok tape target_v5upgrade teamspeak2 ted \
 	tokyotyrant turbostat uuid varnish virt vserver write_kafka \
-	write_mongodb write_redis xmms zfs_arc
+	write_mongodb write_redis xmms zfs_arc zone
 
 COLLECTD_CONF_ENV += LIBS="-lm"
 
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 05/14] collectd: explicitly disable xencpu plugin
  2016-12-22  1:59 [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Gustavo Zacarias
                   ` (2 preceding siblings ...)
  2016-12-22  1:59 ` [Buildroot] [PATCH 04/14] collectd: explicitly disable zone plugin Gustavo Zacarias
@ 2016-12-22  1:59 ` Gustavo Zacarias
  2016-12-23 21:39   ` Peter Korsgaard
  2016-12-22  1:59 ` [Buildroot] [PATCH 06/14] collectd: add chrony plugin support Gustavo Zacarias
                   ` (9 subsequent siblings)
  13 siblings, 1 reply; 22+ messages in thread
From: Gustavo Zacarias @ 2016-12-22  1:59 UTC (permalink / raw)
  To: buildroot

It requires the libxenctrl library which buildroot doesn't provide yet.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/collectd/collectd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 1fec414..11685cd 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -20,7 +20,7 @@ COLLECTD_PLUGINS_DISABLE = \
 	nut onewire oracle perl pf pinba powerdns python redis routeros \
 	rrdcached sigrok tape target_v5upgrade teamspeak2 ted \
 	tokyotyrant turbostat uuid varnish virt vserver write_kafka \
-	write_mongodb write_redis xmms zfs_arc zone
+	write_mongodb write_redis xencpu xmms zfs_arc zone
 
 COLLECTD_CONF_ENV += LIBS="-lm"
 
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 06/14] collectd: add chrony plugin support
  2016-12-22  1:59 [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Gustavo Zacarias
                   ` (3 preceding siblings ...)
  2016-12-22  1:59 ` [Buildroot] [PATCH 05/14] collectd: explicitly disable xencpu plugin Gustavo Zacarias
@ 2016-12-22  1:59 ` Gustavo Zacarias
  2016-12-23 21:41   ` Peter Korsgaard
  2016-12-22  1:59 ` [Buildroot] [PATCH 07/14] collectd: add cpusleep " Gustavo Zacarias
                   ` (8 subsequent siblings)
  13 siblings, 1 reply; 22+ messages in thread
From: Gustavo Zacarias @ 2016-12-22  1:59 UTC (permalink / raw)
  To: buildroot

Add explicit support for the new chrony dependency-less plugin.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/collectd/Config.in   | 5 +++++
 package/collectd/collectd.mk | 1 +
 2 files changed, 6 insertions(+)

diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 72e5793..5e84aa5 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -127,6 +127,11 @@ config BR2_PACKAGE_COLLECTD_CEPH
 	help
 	  Statistics from the Ceph distributed storage system.
 
+config BR2_PACKAGE_COLLECTD_CHRONY
+	bool "chrony"
+	help
+	  Collects NTP data from the chrony NTP server.
+
 config BR2_PACKAGE_COLLECTD_CGROUPS
 	bool "cgroups"
 	help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 11685cd..5018fb0 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -35,6 +35,7 @@ COLLECTD_CONF_OPTS += \
 	$(if $(BR2_PACKAGE_COLLECTD_BATTERY),--enable-battery,--disable-battery) \
 	$(if $(BR2_PACKAGE_COLLECTD_BIND),--enable-bind,--disable-bind) \
 	$(if $(BR2_PACKAGE_COLLECTD_CEPH),--enable-ceph,--disable-ceph) \
+	$(if $(BR2_PACKAGE_COLLECTD_CHRONY),--enable-chrony,--disable-chrony) \
 	$(if $(BR2_PACKAGE_COLLECTD_CGROUPS),--enable-cgroups,--disable-cgroups) \
 	$(if $(BR2_PACKAGE_COLLECTD_CONNTRACK),--enable-conntrack,--disable-conntrack) \
 	$(if $(BR2_PACKAGE_COLLECTD_CONTEXTSWITCH),--enable-contextswitch,--disable-contextswitch) \
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 07/14] collectd: add cpusleep plugin support
  2016-12-22  1:59 [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Gustavo Zacarias
                   ` (4 preceding siblings ...)
  2016-12-22  1:59 ` [Buildroot] [PATCH 06/14] collectd: add chrony plugin support Gustavo Zacarias
@ 2016-12-22  1:59 ` Gustavo Zacarias
  2016-12-23 21:39   ` Peter Korsgaard
  2016-12-22  1:59 ` [Buildroot] [PATCH 08/14] collectd: add mqtt " Gustavo Zacarias
                   ` (7 subsequent siblings)
  13 siblings, 1 reply; 22+ messages in thread
From: Gustavo Zacarias @ 2016-12-22  1:59 UTC (permalink / raw)
  To: buildroot

Add explicit support for the new cpusleep dependency-less plugin.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/collectd/Config.in   | 5 +++++
 package/collectd/collectd.mk | 1 +
 2 files changed, 6 insertions(+)

diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 5e84aa5..d1b85aa 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -157,6 +157,11 @@ config BR2_PACKAGE_COLLECTD_CPUFREQ
 	help
 	  Collects the current CPU's frequency.
 
+config BR2_PACKAGE_COLLECTD_CPUSLEEP
+	bool "cpusleep"
+	help
+	  Measures time spent by CPU in deep sleep mode.
+
 config BR2_PACKAGE_COLLECTD_CURL
 	bool "curl"
 	select BR2_PACKAGE_LIBCURL
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 5018fb0..d8b2576 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -41,6 +41,7 @@ COLLECTD_CONF_OPTS += \
 	$(if $(BR2_PACKAGE_COLLECTD_CONTEXTSWITCH),--enable-contextswitch,--disable-contextswitch) \
 	$(if $(BR2_PACKAGE_COLLECTD_CPU),--enable-cpu,--disable-cpu) \
 	$(if $(BR2_PACKAGE_COLLECTD_CPUFREQ),--enable-cpufreq,--disable-cpufreq) \
+	$(if $(BR2_PACKAGE_COLLECTD_CPUSLEEP),--enable-cpusleep,--disable-cpusleep) \
 	$(if $(BR2_PACKAGE_COLLECTD_CSV),--enable-csv,--disable-csv) \
 	$(if $(BR2_PACKAGE_COLLECTD_CURL),--enable-curl,--disable-curl) \
 	$(if $(BR2_PACKAGE_COLLECTD_CURL_JSON),--enable-curl_json,--disable-curl_json) \
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 08/14] collectd: add mqtt plugin support
  2016-12-22  1:59 [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Gustavo Zacarias
                   ` (5 preceding siblings ...)
  2016-12-22  1:59 ` [Buildroot] [PATCH 07/14] collectd: add cpusleep " Gustavo Zacarias
@ 2016-12-22  1:59 ` Gustavo Zacarias
  2016-12-22  1:59 ` [Buildroot] [PATCH 09/14] collectd: explicitly disable grpc plugin Gustavo Zacarias
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 22+ messages in thread
From: Gustavo Zacarias @ 2016-12-22  1:59 UTC (permalink / raw)
  To: buildroot

Add explicit support for the mqtt (mosquitto) plugin.
Place it under the write category even though it can read as well, since
it will normally be used to write (publish) rather than read
(subscribe).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/collectd/Config.in   | 6 ++++++
 package/collectd/collectd.mk | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index d1b85aa..b17abe8 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -512,6 +512,12 @@ config BR2_PACKAGE_COLLECTD_GRAPHITE
 	  Writes data collected to Carbon (Graphite's) storage API.
 	  http://graphite.wikidot.com/start
 
+config BR2_PACKAGE_COLLECTD_MQTT
+	bool "mqtt"
+	select BR2_PACKAGE_MOSQUITTO
+	help
+	  Sends metrics to and/or receives metrics from an MQTT broker.
+
 config BR2_PACKAGE_COLLECTD_NETWORK
 	bool "network"
 	help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index d8b2576..97e2e98 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -72,6 +72,7 @@ COLLECTD_CONF_OPTS += \
 	$(if $(BR2_PACKAGE_COLLECTD_MEMCACHED),--enable-memcached,--disable-memcached) \
 	$(if $(BR2_PACKAGE_COLLECTD_MEMORY),--enable-memory,--disable-memory) \
 	$(if $(BR2_PACKAGE_COLLECTD_MODBUS),--enable-modbus,--disable-modbus) \
+	$(if $(BR2_PACKAGE_COLLECTD_MQTT),--enable-mqtt,--disable-mqtt) \
 	$(if $(BR2_PACKAGE_COLLECTD_MYSQL),--enable-mysql,--disable-mysql) \
 	$(if $(BR2_PACKAGE_COLLECTD_NETLINK),--enable-netlink,--disable-netlink) \
 	$(if $(BR2_PACKAGE_COLLECTD_NETWORK),--enable-network,--disable-network) \
@@ -133,6 +134,7 @@ COLLECTD_DEPENDENCIES = \
 	$(if $(BR2_PACKAGE_COLLECTD_LOGSTASH),yajl) \
 	$(if $(BR2_PACKAGE_COLLECTD_MEMCACHEC),libmemcached) \
 	$(if $(BR2_PACKAGE_COLLECTD_MODBUS),libmodbus) \
+	$(if $(BR2_PACKAGE_COLLECTD_MQTT),mosquitto) \
 	$(if $(BR2_PACKAGE_COLLECTD_MYSQL),mysql) \
 	$(if $(BR2_PACKAGE_COLLECTD_NETLINK),libmnl) \
 	$(if $(BR2_PACKAGE_COLLECTD_NGINX),libcurl) \
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 09/14] collectd: explicitly disable grpc plugin
  2016-12-22  1:59 [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Gustavo Zacarias
                   ` (6 preceding siblings ...)
  2016-12-22  1:59 ` [Buildroot] [PATCH 08/14] collectd: add mqtt " Gustavo Zacarias
@ 2016-12-22  1:59 ` Gustavo Zacarias
  2016-12-22  1:59 ` [Buildroot] [PATCH 10/14] collectd: add hugepages plugin support Gustavo Zacarias
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 22+ messages in thread
From: Gustavo Zacarias @ 2016-12-22  1:59 UTC (permalink / raw)
  To: buildroot

It requires the libgrpc++ library which buildroot doesn't provide yet.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/collectd/collectd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 97e2e98..2b57e51 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -15,7 +15,7 @@ COLLECTD_LICENSE_FILES = COPYING
 # These require unmet dependencies, are fringe, pointless or deprecated
 COLLECTD_PLUGINS_DISABLE = \
 	amqp apple_sensors aquaero ascent barometer dbi email \
-	gmond hddtemp ipmi java libvirt lpar lvm madwifi mbmon \
+	gmond grpc hddtemp ipmi java libvirt lpar lvm madwifi mbmon \
 	mic multimeter netapp notify_desktop numa \
 	nut onewire oracle perl pf pinba powerdns python redis routeros \
 	rrdcached sigrok tape target_v5upgrade teamspeak2 ted \
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 10/14] collectd: add hugepages plugin support
  2016-12-22  1:59 [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Gustavo Zacarias
                   ` (7 preceding siblings ...)
  2016-12-22  1:59 ` [Buildroot] [PATCH 09/14] collectd: explicitly disable grpc plugin Gustavo Zacarias
@ 2016-12-22  1:59 ` Gustavo Zacarias
  2016-12-22  1:59 ` [Buildroot] [PATCH 11/14] collectd: explicitly disable dpdkstat plugin Gustavo Zacarias
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 22+ messages in thread
From: Gustavo Zacarias @ 2016-12-22  1:59 UTC (permalink / raw)
  To: buildroot

Add explicit support for the new hugepages dependency-less plugin.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/collectd/Config.in   | 5 +++++
 package/collectd/collectd.mk | 1 +
 2 files changed, 6 insertions(+)

diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index b17abe8..7cd6397 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -237,6 +237,11 @@ config BR2_PACKAGE_COLLECTD_FSCACHE
 	  Collects information about the file-system based caching
 	  infrastructure for network file-systems and other slow media.
 
+config BR2_PACKAGE_COLLECTD_HUGEPAGES
+	bool "hugepages"
+	help
+	  Reports the number of used and free hugepages on Linux.
+
 config BR2_PACKAGE_COLLECTD_INTERFACE
 	bool "interface"
 	help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 2b57e51..392c76f 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -59,6 +59,7 @@ COLLECTD_CONF_OPTS += \
 	$(if $(BR2_PACKAGE_COLLECTD_FSCACHE),--enable-fscache,--disable-fscache) \
 	$(if $(BR2_PACKAGE_COLLECTD_GRAPHITE),--enable-write_graphite,--disable-write_graphite) \
 	$(if $(BR2_PACKAGE_COLLECTD_HASHED),--enable-match_hashed,--disable-match_hashed) \
+	$(if $(BR2_PACKAGE_COLLECTD_HUGEPAGES),--enable-hugepages,--disable-hugepages) \
 	$(if $(BR2_PACKAGE_COLLECTD_INTERFACE),--enable-interface,--disable-interface) \
 	$(if $(BR2_PACKAGE_COLLECTD_IPC),--enable-ipc,--disable-ipc) \
 	$(if $(BR2_PACKAGE_COLLECTD_IPTABLES),--enable-iptables,--disable-iptables) \
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 11/14] collectd: explicitly disable dpdkstat plugin
  2016-12-22  1:59 [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Gustavo Zacarias
                   ` (8 preceding siblings ...)
  2016-12-22  1:59 ` [Buildroot] [PATCH 10/14] collectd: add hugepages plugin support Gustavo Zacarias
@ 2016-12-22  1:59 ` Gustavo Zacarias
  2016-12-22  1:59 ` [Buildroot] [PATCH 12/14] collectd: explicitly disable intel_rdt plugin Gustavo Zacarias
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 22+ messages in thread
From: Gustavo Zacarias @ 2016-12-22  1:59 UTC (permalink / raw)
  To: buildroot

It requires the libdpdk library which buildroot doesn't provide yet.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/collectd/collectd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 392c76f..f306d16 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -14,7 +14,7 @@ COLLECTD_LICENSE_FILES = COPYING
 
 # These require unmet dependencies, are fringe, pointless or deprecated
 COLLECTD_PLUGINS_DISABLE = \
-	amqp apple_sensors aquaero ascent barometer dbi email \
+	amqp apple_sensors aquaero ascent barometer dbi dpdkstat email \
 	gmond grpc hddtemp ipmi java libvirt lpar lvm madwifi mbmon \
 	mic multimeter netapp notify_desktop numa \
 	nut onewire oracle perl pf pinba powerdns python redis routeros \
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 12/14] collectd: explicitly disable intel_rdt plugin
  2016-12-22  1:59 [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Gustavo Zacarias
                   ` (9 preceding siblings ...)
  2016-12-22  1:59 ` [Buildroot] [PATCH 11/14] collectd: explicitly disable dpdkstat plugin Gustavo Zacarias
@ 2016-12-22  1:59 ` Gustavo Zacarias
  2016-12-22  1:59 ` [Buildroot] [PATCH 13/14] collectd: add gps plugin support Gustavo Zacarias
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 22+ messages in thread
From: Gustavo Zacarias @ 2016-12-22  1:59 UTC (permalink / raw)
  To: buildroot

It requires the libpqos library which buildroot doesn't provide yet.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/collectd/collectd.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index f306d16..b105e90 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -15,8 +15,8 @@ COLLECTD_LICENSE_FILES = COPYING
 # These require unmet dependencies, are fringe, pointless or deprecated
 COLLECTD_PLUGINS_DISABLE = \
 	amqp apple_sensors aquaero ascent barometer dbi dpdkstat email \
-	gmond grpc hddtemp ipmi java libvirt lpar lvm madwifi mbmon \
-	mic multimeter netapp notify_desktop numa \
+	gmond grpc hddtemp intel_rdt ipmi java libvirt lpar lvm \
+	madwifi mbmon mic multimeter netapp notify_desktop numa \
 	nut onewire oracle perl pf pinba powerdns python redis routeros \
 	rrdcached sigrok tape target_v5upgrade teamspeak2 ted \
 	tokyotyrant turbostat uuid varnish virt vserver write_kafka \
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 13/14] collectd: add gps plugin support
  2016-12-22  1:59 [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Gustavo Zacarias
                   ` (10 preceding siblings ...)
  2016-12-22  1:59 ` [Buildroot] [PATCH 12/14] collectd: explicitly disable intel_rdt plugin Gustavo Zacarias
@ 2016-12-22  1:59 ` Gustavo Zacarias
  2016-12-22  1:59 ` [Buildroot] [PATCH 14/14] collectd: add write_prometheus " Gustavo Zacarias
  2016-12-23 21:38 ` [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Peter Korsgaard
  13 siblings, 0 replies; 22+ messages in thread
From: Gustavo Zacarias @ 2016-12-22  1:59 UTC (permalink / raw)
  To: buildroot

Add explicit support for the gps plugin that uses libgps from the gpsd
package.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/collectd/Config.in   | 7 +++++++
 package/collectd/collectd.mk | 2 ++
 2 files changed, 9 insertions(+)

diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 7cd6397..02c02b7 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -237,6 +237,13 @@ config BR2_PACKAGE_COLLECTD_FSCACHE
 	  Collects information about the file-system based caching
 	  infrastructure for network file-systems and other slow media.
 
+config BR2_PACKAGE_COLLECTD_GPS
+	bool "gps"
+	select BR2_PACKAGE_GPSD
+	help
+	  Reports the number of sattelites seen by and precision
+	  of a GPS receiver.
+
 config BR2_PACKAGE_COLLECTD_HUGEPAGES
 	bool "hugepages"
 	help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index b105e90..520ce1c 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -57,6 +57,7 @@ COLLECTD_CONF_OPTS += \
 	$(if $(BR2_PACKAGE_COLLECTD_FHCOUNT),--enable-fhcount,--disable-fhcount) \
 	$(if $(BR2_PACKAGE_COLLECTD_FILECOUNT),--enable-filecount,--disable-filecount) \
 	$(if $(BR2_PACKAGE_COLLECTD_FSCACHE),--enable-fscache,--disable-fscache) \
+	$(if $(BR2_PACKAGE_COLLECTD_GPS),--enable-gps,--disable-gps) \
 	$(if $(BR2_PACKAGE_COLLECTD_GRAPHITE),--enable-write_graphite,--disable-write_graphite) \
 	$(if $(BR2_PACKAGE_COLLECTD_HASHED),--enable-match_hashed,--disable-match_hashed) \
 	$(if $(BR2_PACKAGE_COLLECTD_HUGEPAGES),--enable-hugepages,--disable-hugepages) \
@@ -131,6 +132,7 @@ COLLECTD_DEPENDENCIES = \
 	$(if $(BR2_PACKAGE_COLLECTD_CURL_JSON),libcurl yajl) \
 	$(if $(BR2_PACKAGE_COLLECTD_CURL_XML),libcurl libxml2) \
 	$(if $(BR2_PACKAGE_COLLECTD_DNS),libpcap) \
+	$(if $(BR2_PACKAGE_COLLECTD_GPS),gpsd) \
 	$(if $(BR2_PACKAGE_COLLECTD_IPTABLES),iptables) \
 	$(if $(BR2_PACKAGE_COLLECTD_LOGSTASH),yajl) \
 	$(if $(BR2_PACKAGE_COLLECTD_MEMCACHEC),libmemcached) \
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 14/14] collectd: add write_prometheus plugin support
  2016-12-22  1:59 [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Gustavo Zacarias
                   ` (11 preceding siblings ...)
  2016-12-22  1:59 ` [Buildroot] [PATCH 13/14] collectd: add gps plugin support Gustavo Zacarias
@ 2016-12-22  1:59 ` Gustavo Zacarias
  2016-12-23 21:44   ` Peter Korsgaard
  2016-12-23 21:38 ` [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Peter Korsgaard
  13 siblings, 1 reply; 22+ messages in thread
From: Gustavo Zacarias @ 2016-12-22  1:59 UTC (permalink / raw)
  To: buildroot

Add explicit support for the write_prometheus plugin, it requires the
libmicrohttpd and protobuf-c libraries.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/collectd/Config.in   | 14 ++++++++++++++
 package/collectd/collectd.mk |  4 +++-
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 02c02b7..fc60917 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -572,6 +572,20 @@ config BR2_PACKAGE_COLLECTD_WRITELOG
 	help
 	  Writes data to the log.
 
+config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS
+	bool "write_prometheus"
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+	select BR2_PACKAGE_LIBMICROHTTPD
+	select BR2_PACKAGE_PROTOBUF_C
+	help
+	  Publishes values using an embedded HTTP server, in a format
+	  compatible with Prometheus' collectd_exporter.
+
+comment "write_prometheus needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
+	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+
 config BR2_PACKAGE_COLLECTD_WRITESENSU
 	bool "write_sensu"
 	help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 520ce1c..50a2e53 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -119,6 +119,7 @@ COLLECTD_CONF_OPTS += \
 	$(if $(BR2_PACKAGE_COLLECTD_WIRELESS),--enable-wireless,--disable-wireless) \
 	$(if $(BR2_PACKAGE_COLLECTD_WRITEHTTP),--enable-write_http,--disable-write_http) \
 	$(if $(BR2_PACKAGE_COLLECTD_WRITELOG),--enable-write_log,--disable-write_log) \
+	$(if $(BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS),--enable-write_prometheus,--disable-write_prometheus) \
 	$(if $(BR2_PACKAGE_COLLECTD_WRITESENSU),--enable-write_sensu,--disable-write_sensu) \
 	$(if $(BR2_PACKAGE_COLLECTD_WRITETSDB),--enable-write_tsdb,--disable-write_tsdb) \
 	$(if $(BR2_PACKAGE_COLLECTD_ZOOKEEPER),--enable-zookeeper,--disable-zookeeper)
@@ -150,7 +151,8 @@ COLLECTD_DEPENDENCIES = \
 	$(if $(BR2_PACKAGE_COLLECTD_SENSORS),lm-sensors) \
 	$(if $(BR2_PACKAGE_COLLECTD_SMART),libatasmart) \
 	$(if $(BR2_PACKAGE_COLLECTD_SNMP),netsnmp) \
-	$(if $(BR2_PACKAGE_COLLECTD_WRITEHTTP),libcurl)
+	$(if $(BR2_PACKAGE_COLLECTD_WRITEHTTP),libcurl) \
+	$(if $(BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS),libmicrohttpd protobuf-c)
 
 # include/library fixups
 ifeq ($(BR2_PACKAGE_LIBCURL),y)
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0
  2016-12-22  1:59 [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Gustavo Zacarias
                   ` (12 preceding siblings ...)
  2016-12-22  1:59 ` [Buildroot] [PATCH 14/14] collectd: add write_prometheus " Gustavo Zacarias
@ 2016-12-23 21:38 ` Peter Korsgaard
  13 siblings, 0 replies; 22+ messages in thread
From: Peter Korsgaard @ 2016-12-23 21:38 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 02/14] collectd: add notify_nagios plugin support
  2016-12-22  1:59 ` [Buildroot] [PATCH 02/14] collectd: add notify_nagios plugin support Gustavo Zacarias
@ 2016-12-23 21:38   ` Peter Korsgaard
  0 siblings, 0 replies; 22+ messages in thread
From: Peter Korsgaard @ 2016-12-23 21:38 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > Add explicit support for the new notify_nagios dependency-less plugin.
 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 > ---

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 03/14] collectd: drop notify_email global disable
  2016-12-22  1:59 ` [Buildroot] [PATCH 03/14] collectd: drop notify_email global disable Gustavo Zacarias
@ 2016-12-23 21:38   ` Peter Korsgaard
  0 siblings, 0 replies; 22+ messages in thread
From: Peter Korsgaard @ 2016-12-23 21:38 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > It's a no-op since it's disabled/enabled by the config knob.
 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 04/14] collectd: explicitly disable zone plugin
  2016-12-22  1:59 ` [Buildroot] [PATCH 04/14] collectd: explicitly disable zone plugin Gustavo Zacarias
@ 2016-12-23 21:38   ` Peter Korsgaard
  0 siblings, 0 replies; 22+ messages in thread
From: Peter Korsgaard @ 2016-12-23 21:38 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > It's intended for solaris so no usage case for buildroot.
 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 05/14] collectd: explicitly disable xencpu plugin
  2016-12-22  1:59 ` [Buildroot] [PATCH 05/14] collectd: explicitly disable xencpu plugin Gustavo Zacarias
@ 2016-12-23 21:39   ` Peter Korsgaard
  0 siblings, 0 replies; 22+ messages in thread
From: Peter Korsgaard @ 2016-12-23 21:39 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > It requires the libxenctrl library which buildroot doesn't provide yet.
 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 07/14] collectd: add cpusleep plugin support
  2016-12-22  1:59 ` [Buildroot] [PATCH 07/14] collectd: add cpusleep " Gustavo Zacarias
@ 2016-12-23 21:39   ` Peter Korsgaard
  0 siblings, 0 replies; 22+ messages in thread
From: Peter Korsgaard @ 2016-12-23 21:39 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > Add explicit support for the new cpusleep dependency-less plugin.
 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 06/14] collectd: add chrony plugin support
  2016-12-22  1:59 ` [Buildroot] [PATCH 06/14] collectd: add chrony plugin support Gustavo Zacarias
@ 2016-12-23 21:41   ` Peter Korsgaard
  0 siblings, 0 replies; 22+ messages in thread
From: Peter Korsgaard @ 2016-12-23 21:41 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > Add explicit support for the new chrony dependency-less plugin.
 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Buildroot] [PATCH 14/14] collectd: add write_prometheus plugin support
  2016-12-22  1:59 ` [Buildroot] [PATCH 14/14] collectd: add write_prometheus " Gustavo Zacarias
@ 2016-12-23 21:44   ` Peter Korsgaard
  0 siblings, 0 replies; 22+ messages in thread
From: Peter Korsgaard @ 2016-12-23 21:44 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > Add explicit support for the write_prometheus plugin, it requires the
 > libmicrohttpd and protobuf-c libraries.

 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 > ---
 >  package/collectd/Config.in   | 14 ++++++++++++++
 >  package/collectd/collectd.mk |  4 +++-
 >  2 files changed, 17 insertions(+), 1 deletion(-)

 > diff --git a/package/collectd/Config.in b/package/collectd/Config.in
 > index 02c02b7..fc60917 100644
 > --- a/package/collectd/Config.in
 > +++ b/package/collectd/Config.in
 > @@ -572,6 +572,20 @@ config BR2_PACKAGE_COLLECTD_WRITELOG
 >  	help
 >  	  Writes data to the log.
 
 > +config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS
 > +	bool "write_prometheus"
 > +	depends on BR2_INSTALL_LIBSTDCPP
 > +	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"

Committed after adding '# protobuf-c'. Also committed the remainder of
the series, thanks!

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2016-12-23 21:44 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-22  1:59 [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Gustavo Zacarias
2016-12-22  1:59 ` [Buildroot] [PATCH 02/14] collectd: add notify_nagios plugin support Gustavo Zacarias
2016-12-23 21:38   ` Peter Korsgaard
2016-12-22  1:59 ` [Buildroot] [PATCH 03/14] collectd: drop notify_email global disable Gustavo Zacarias
2016-12-23 21:38   ` Peter Korsgaard
2016-12-22  1:59 ` [Buildroot] [PATCH 04/14] collectd: explicitly disable zone plugin Gustavo Zacarias
2016-12-23 21:38   ` Peter Korsgaard
2016-12-22  1:59 ` [Buildroot] [PATCH 05/14] collectd: explicitly disable xencpu plugin Gustavo Zacarias
2016-12-23 21:39   ` Peter Korsgaard
2016-12-22  1:59 ` [Buildroot] [PATCH 06/14] collectd: add chrony plugin support Gustavo Zacarias
2016-12-23 21:41   ` Peter Korsgaard
2016-12-22  1:59 ` [Buildroot] [PATCH 07/14] collectd: add cpusleep " Gustavo Zacarias
2016-12-23 21:39   ` Peter Korsgaard
2016-12-22  1:59 ` [Buildroot] [PATCH 08/14] collectd: add mqtt " Gustavo Zacarias
2016-12-22  1:59 ` [Buildroot] [PATCH 09/14] collectd: explicitly disable grpc plugin Gustavo Zacarias
2016-12-22  1:59 ` [Buildroot] [PATCH 10/14] collectd: add hugepages plugin support Gustavo Zacarias
2016-12-22  1:59 ` [Buildroot] [PATCH 11/14] collectd: explicitly disable dpdkstat plugin Gustavo Zacarias
2016-12-22  1:59 ` [Buildroot] [PATCH 12/14] collectd: explicitly disable intel_rdt plugin Gustavo Zacarias
2016-12-22  1:59 ` [Buildroot] [PATCH 13/14] collectd: add gps plugin support Gustavo Zacarias
2016-12-22  1:59 ` [Buildroot] [PATCH 14/14] collectd: add write_prometheus " Gustavo Zacarias
2016-12-23 21:44   ` Peter Korsgaard
2016-12-23 21:38 ` [Buildroot] [PATCH 01/14] collectd: bump to version 5.7.0 Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.