* [Buildroot] [PATCH 1/6] package/collectd: drop autoreconf
@ 2020-04-14 16:37 Fabrice Fontaine
2020-04-14 16:37 ` [Buildroot] [PATCH 2/6] package/collectd: remove lvm Fabrice Fontaine
` (4 more replies)
0 siblings, 5 replies; 10+ messages in thread
From: Fabrice Fontaine @ 2020-04-14 16:37 UTC (permalink / raw)
To: buildroot
autoreconf is not needed since bump to version 5.11.0 in commit
57adbfc482454e3fb17172626b2dc971afaf5cfd which dropped patch
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/collectd/collectd.mk | 2 --
1 file changed, 2 deletions(-)
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index c09edebfc9..dda15b0162 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -12,8 +12,6 @@ COLLECTD_CONF_ENV = ac_cv_lib_yajl_yajl_alloc=yes
COLLECTD_INSTALL_STAGING = YES
COLLECTD_LICENSE = MIT (daemon, plugins), GPL-2.0 (plugins), LGPL-2.1 (plugins)
COLLECTD_LICENSE_FILES = COPYING
-# We're patching configure.ac
-COLLECTD_AUTORECONF = YES
# These require unmet dependencies, are fringe, pointless or deprecated
COLLECTD_PLUGINS_DISABLE = \
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH 2/6] package/collectd: remove lvm
2020-04-14 16:37 [Buildroot] [PATCH 1/6] package/collectd: drop autoreconf Fabrice Fontaine
@ 2020-04-14 16:37 ` Fabrice Fontaine
2020-04-14 16:37 ` [Buildroot] [PATCH 3/6] package/collectd: add DPDK_TELEMETRY option Fabrice Fontaine
` (3 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Fabrice Fontaine @ 2020-04-14 16:37 UTC (permalink / raw)
To: buildroot
lvm has been removed since version 5.11.0 and
https://github.com/collectd/collectd/commit/0e73c26f5670b2f11eecfdadaf545bcc7f260658
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Config.in.legacy | 6 ++++++
package/collectd/Config.in | 13 -------------
package/collectd/collectd.mk | 2 --
3 files changed, 6 insertions(+), 15 deletions(-)
diff --git a/Config.in.legacy b/Config.in.legacy
index 95f17b1b31..78b3b81e54 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,12 @@ endif
comment "Legacy options removed in 2020.05"
+config BR2_PACKAGE_COLLECTD_LVM
+ bool "lvm support in collectd was removed"
+ select BR2_LEGACY
+ help
+ collectd removed LVM plugin, liblvm2app has been deprecated
+
config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA6174
bool "duplicate QCA6174 firmware symbol removed"
select BR2_LEGACY
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 4b34ec60eb..1b6b3384c4 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -296,19 +296,6 @@ config BR2_PACKAGE_COLLECTD_LOAD
help
Collects the system load.
-config BR2_PACKAGE_COLLECTD_LVM
- bool "lvm"
- depends on !BR2_TOOLCHAIN_USES_MUSL # lvm2 app library
- select BR2_PACKAGE_LVM2
- select BR2_PACKAGE_LVM2_APP_LIBRARY
- help
- Collects the size of logical volumes (LV) and free space
- inside a volume group (VG) from Linux' Logical Volume Manager
- (LVM).
-
-comment "lvm needs a glibc or uClibc toolchain"
- depends on BR2_TOOLCHAIN_USES_MUSL
-
config BR2_PACKAGE_COLLECTD_MD
bool "md"
help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index dda15b0162..24cdad7e1b 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -88,7 +88,6 @@ COLLECTD_CONF_OPTS += \
$(if $(BR2_PACKAGE_COLLECTD_LOGFILE),--enable-logfile,--disable-logfile) \
$(if $(BR2_PACKAGE_COLLECTD_LOGSTASH),--enable-log_logstash,--disable-log_logstash) \
$(if $(BR2_PACKAGE_COLLECTD_LUA),--enable-lua,--disable-lua) \
- $(if $(BR2_PACKAGE_COLLECTD_LVM),--enable-lvm,--disable-lvm) \
$(if $(BR2_PACKAGE_COLLECTD_MD),--enable-md,--disable-md) \
$(if $(BR2_PACKAGE_COLLECTD_MEMCACHEC),--enable-memcachec,--disable-memcachec) \
$(if $(BR2_PACKAGE_COLLECTD_MEMCACHED),--enable-memcached,--disable-memcached) \
@@ -162,7 +161,6 @@ COLLECTD_DEPENDENCIES = \
$(if $(BR2_PACKAGE_COLLECTD_IPTABLES),iptables) \
$(if $(BR2_PACKAGE_COLLECTD_LOGSTASH),yajl) \
$(if $(BR2_PACKAGE_COLLECTD_LUA),lua) \
- $(if $(BR2_PACKAGE_COLLECTD_LVM),lvm2) \
$(if $(BR2_PACKAGE_COLLECTD_MEMCACHEC),libmemcached) \
$(if $(BR2_PACKAGE_COLLECTD_MODBUS),libmodbus) \
$(if $(BR2_PACKAGE_COLLECTD_MQTT),mosquitto) \
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH 3/6] package/collectd: add DPDK_TELEMETRY option
2020-04-14 16:37 [Buildroot] [PATCH 1/6] package/collectd: drop autoreconf Fabrice Fontaine
2020-04-14 16:37 ` [Buildroot] [PATCH 2/6] package/collectd: remove lvm Fabrice Fontaine
@ 2020-04-14 16:37 ` Fabrice Fontaine
2020-04-14 16:37 ` [Buildroot] [PATCH 4/6] package/collectd: add InfluxDB support Fabrice Fontaine
` (2 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Fabrice Fontaine @ 2020-04-14 16:37 UTC (permalink / raw)
To: buildroot
DPDK support is available since version 5.11.0 and
https://github.com/collectd/collectd/commit/00cbd4d2c016a676db476ae66bbc58d6bf11a6a0
It depends on jansson and is currently enabled by default raising the
following build failure on musl:
src/dpdk_telemetry.c:43:10: fatal error: sys/unistd.h: No such file or directory
#include <sys/unistd.h>
^~~~~~~~~~~~~~
Fixes:
- autobuild.buildroot.org/results/aafb8c72f147fefc7a988c45e4dc17de48b07a95
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
...c-dpdk_telemetry.c-fix-build-on-musl.patch | 37 +++++++++++++++++++
package/collectd/Config.in | 7 ++++
package/collectd/collectd.mk | 5 +++
3 files changed, 49 insertions(+)
create mode 100644 package/collectd/0001-src-dpdk_telemetry.c-fix-build-on-musl.patch
diff --git a/package/collectd/0001-src-dpdk_telemetry.c-fix-build-on-musl.patch b/package/collectd/0001-src-dpdk_telemetry.c-fix-build-on-musl.patch
new file mode 100644
index 0000000000..8378cd0d33
--- /dev/null
+++ b/package/collectd/0001-src-dpdk_telemetry.c-fix-build-on-musl.patch
@@ -0,0 +1,37 @@
+From 70318d6bcf7ef89e1a73fc775d33f4c854aed484 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Tue, 14 Apr 2020 14:49:19 +0200
+Subject: [PATCH] src/dpdk_telemetry.c: fix build on musl
+
+Include unistd.h instead of sys/unistd.h to fix the following build
+failure on musl:
+
+src/dpdk_telemetry.c:43:10: fatal error: sys/unistd.h: No such file or directory
+ #include <sys/unistd.h>
+ ^~~~~~~~~~~~~~
+
+Fixes:
+ - http://autobuild.buildroot.org/results/aafb8c72f147fefc7a988c45e4dc17de48b07a95
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status: https://github.com/collectd/collectd/pull/3439]
+---
+ src/dpdk_telemetry.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/dpdk_telemetry.c b/src/dpdk_telemetry.c
+index b46e8574..cfee5f12 100755
+--- a/src/dpdk_telemetry.c
++++ b/src/dpdk_telemetry.c
+@@ -40,7 +40,7 @@
+ #include <sys/queue.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
+-#include <sys/unistd.h>
++#include <unistd.h>
+
+ #define BUF_SIZE 100000
+ #define PLUGIN_NAME "dpdk_telemetry"
+--
+2.25.1
+
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 1b6b3384c4..f1f3c2ed9f 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -210,6 +210,13 @@ config BR2_PACKAGE_COLLECTD_DNS
help
Collects statistics of DNS traffic using libpcap.
+config BR2_PACKAGE_COLLECTD_DPDK_TELEMETRY
+ bool "dpdk_telemetry"
+ select BR2_PACKAGE_JANSSON
+ help
+ Collects DPDK ethernet device metrics via dpdk_telemetry
+ library.
+
config BR2_PACKAGE_COLLECTD_DRBD
bool "drbd"
help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 24cdad7e1b..52b218e139 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -66,6 +66,7 @@ COLLECTD_CONF_OPTS += \
$(if $(BR2_PACKAGE_COLLECTD_DF),--enable-df,--disable-df) \
$(if $(BR2_PACKAGE_COLLECTD_DISK),--enable-disk,--disable-disk) \
$(if $(BR2_PACKAGE_COLLECTD_DNS),--enable-dns,--disable-dns) \
+ $(if $(BR2_PACKAGE_COLLECTD_DPDK_TELEMETRY),--enable-dpdk_telemetry,--disable-dpdk_telemetry) \
$(if $(BR2_PACKAGE_COLLECTD_DRBD),--enable-drbd,--disable-drbd) \
$(if $(BR2_PACKAGE_COLLECTD_EMPTY_COUNTER),--enable-match_empty_counter,--disable-match_empty_counter) \
$(if $(BR2_PACKAGE_COLLECTD_ENTROPY),--enable-entropy,--disable-entropy) \
@@ -156,6 +157,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_DPKD_TELEMETRY),jansson) \
$(if $(BR2_PACKAGE_COLLECTD_GPS),gpsd) \
$(if $(BR2_PACKAGE_COLLECTD_GRPC),grpc) \
$(if $(BR2_PACKAGE_COLLECTD_IPTABLES),iptables) \
@@ -186,6 +188,9 @@ COLLECTD_DEPENDENCIES = \
ifeq ($(BR2_PACKAGE_GRPC),y)
COLLECTD_CONF_OPTS += --with-libgrpc++=$(STAGING_DIR)/usr
endif
+ifeq ($(BR2_PACKAGE_JANSSON),y)
+COLLECTD_CONF_OPTS += --with-libjansson=$(STAGING_DIR)/usr
+endif
ifeq ($(BR2_PACKAGE_LIBCURL),y)
COLLECTD_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr
endif
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH 4/6] package/collectd: add InfluxDB support
2020-04-14 16:37 [Buildroot] [PATCH 1/6] package/collectd: drop autoreconf Fabrice Fontaine
2020-04-14 16:37 ` [Buildroot] [PATCH 2/6] package/collectd: remove lvm Fabrice Fontaine
2020-04-14 16:37 ` [Buildroot] [PATCH 3/6] package/collectd: add DPDK_TELEMETRY option Fabrice Fontaine
@ 2020-04-14 16:37 ` Fabrice Fontaine
2020-04-14 16:37 ` [Buildroot] [PATCH 5/6] package/collectd: add capabilities option Fabrice Fontaine
2020-04-14 16:38 ` [Buildroot] [PATCH 6/6] package/collectd: add buddyinfo option Fabrice Fontaine
4 siblings, 0 replies; 10+ messages in thread
From: Fabrice Fontaine @ 2020-04-14 16:37 UTC (permalink / raw)
To: buildroot
InfluxDB support is available since version 5.11.0 and
https://github.com/collectd/collectd/commit/605fcdcddeefb23b945203079e5c87625ce0e336
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/collectd/Config.in | 6 ++++++
package/collectd/collectd.mk | 1 +
2 files changed, 7 insertions(+)
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index f1f3c2ed9f..7186d67c36 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -638,6 +638,12 @@ config BR2_PACKAGE_COLLECTD_WRITEHTTP
Sends values collected to a web-server using HTTP POST and
PUTVAL.
+config BR2_PACKAGE_COLLECTD_WRITEINFLUXDBUDP
+ bool "write_influxdb_udp"
+ help
+ Sends data to an instance of InfluxDB using the "Line
+ Protocol".
+
config BR2_PACKAGE_COLLECTD_WRITELOG
bool "write_log"
help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 52b218e139..964f4dc694 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -140,6 +140,7 @@ COLLECTD_CONF_OPTS += \
$(if $(BR2_PACKAGE_COLLECTD_VMEM),--enable-vmem,--disable-vmem) \
$(if $(BR2_PACKAGE_COLLECTD_WIRELESS),--enable-wireless,--disable-wireless) \
$(if $(BR2_PACKAGE_COLLECTD_WRITEHTTP),--enable-write_http,--disable-write_http) \
+ $(if $(BR2_PACKAGE_COLLECTD_WRITEINFLUXDBUDP),--enable-write_influxdb_udp,--disable-write_influxdb_udp) \
$(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_WRITEREDIS),--enable-write_redis,--disable-write_redis) \
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH 5/6] package/collectd: add capabilities option
2020-04-14 16:37 [Buildroot] [PATCH 1/6] package/collectd: drop autoreconf Fabrice Fontaine
` (2 preceding siblings ...)
2020-04-14 16:37 ` [Buildroot] [PATCH 4/6] package/collectd: add InfluxDB support Fabrice Fontaine
@ 2020-04-14 16:37 ` Fabrice Fontaine
2020-04-15 5:47 ` Thomas Petazzoni
2020-04-14 16:38 ` [Buildroot] [PATCH 6/6] package/collectd: add buddyinfo option Fabrice Fontaine
4 siblings, 1 reply; 10+ messages in thread
From: Fabrice Fontaine @ 2020-04-14 16:37 UTC (permalink / raw)
To: buildroot
capabilities plugin is available since version 5.11.0 and
https://github.com/collectd/collectd/commit/b934f1572cdb54cf485b600546a72dbf9929ba2c
It is currently enabled by default depending on jansson and
libmicrohttpd availability
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/collectd/Config.in | 8 ++++++++
package/collectd/collectd.mk | 2 ++
2 files changed, 10 insertions(+)
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 7186d67c36..15c871025c 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -128,6 +128,14 @@ config BR2_PACKAGE_COLLECTD_BIND
help
Collects BIND DNS statistics.
+config BR2_PACKAGE_COLLECTD_CAPABILITIES
+ bool "capabilities"
+ select BR2_PACKAGE_JANSSON
+ select BR2_PACKAGE_LIBMICROHTTPD
+ help
+ Collects selected static platform data using dmidecode and
+ expose it through micro embedded webserver.
+
config BR2_PACKAGE_COLLECTD_CEPH
bool "ceph"
select BR2_PACKAGE_YAJL
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 964f4dc694..f04ccdb2ff 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -51,6 +51,7 @@ COLLECTD_CONF_OPTS += \
$(if $(BR2_PACKAGE_COLLECTD_APCUPS),--enable-apcups,--disable-apcups) \
$(if $(BR2_PACKAGE_COLLECTD_BATTERY),--enable-battery,--disable-battery) \
$(if $(BR2_PACKAGE_COLLECTD_BIND),--enable-bind,--disable-bind) \
+ $(if $(BR2_PACKAGE_COLLECTD_CAPABILITIES),--enable-capabilities,--disable-capabilities) \
$(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) \
@@ -153,6 +154,7 @@ COLLECTD_DEPENDENCIES = \
$(if $(BR2_PACKAGE_COLLECTD_AMQP),rabbitmq-c) \
$(if $(BR2_PACKAGE_COLLECTD_APACHE),libcurl) \
$(if $(BR2_PACKAGE_COLLECTD_BIND),libcurl libxml2) \
+ $(if $(BR2_PACKAGE_COLLECTD_CAPABILITIES),jansson libmicrohttpd) \
$(if $(BR2_PACKAGE_COLLECTD_CEPH),yajl) \
$(if $(BR2_PACKAGE_COLLECTD_CURL),libcurl) \
$(if $(BR2_PACKAGE_COLLECTD_CURL_JSON),libcurl yajl) \
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH 6/6] package/collectd: add buddyinfo option
2020-04-14 16:37 [Buildroot] [PATCH 1/6] package/collectd: drop autoreconf Fabrice Fontaine
` (3 preceding siblings ...)
2020-04-14 16:37 ` [Buildroot] [PATCH 5/6] package/collectd: add capabilities option Fabrice Fontaine
@ 2020-04-14 16:38 ` Fabrice Fontaine
2020-04-14 16:51 ` Asaf Kahlon
4 siblings, 1 reply; 10+ messages in thread
From: Fabrice Fontaine @ 2020-04-14 16:38 UTC (permalink / raw)
To: buildroot
buddyinfo is available since version 5.11.0 and
https://github.com/collectd/collectd/commit/cb19ecf90d89a79836b8b5236d2b66277dd79c5f
It is currently enabled by default
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
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 15c871025c..1f55271a97 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -128,6 +128,11 @@ config BR2_PACKAGE_COLLECTD_BIND
help
Collects BIND DNS statistics.
+config BR2_PACKAGE_BUDDYINFO
+ bool "buddyinfo"
+ help
+ Statistics from buddyinfo file about memory fragmentation.
+
config BR2_PACKAGE_COLLECTD_CAPABILITIES
bool "capabilities"
select BR2_PACKAGE_JANSSON
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index f04ccdb2ff..6bd1754ad7 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -51,6 +51,7 @@ COLLECTD_CONF_OPTS += \
$(if $(BR2_PACKAGE_COLLECTD_APCUPS),--enable-apcups,--disable-apcups) \
$(if $(BR2_PACKAGE_COLLECTD_BATTERY),--enable-battery,--disable-battery) \
$(if $(BR2_PACKAGE_COLLECTD_BIND),--enable-bind,--disable-bind) \
+ $(if $(BR2_PACKAGE_COLLECTD_BUDDYINFO),--enable-buddyinfo,--disable-buddyinfo) \
$(if $(BR2_PACKAGE_COLLECTD_CAPABILITIES),--enable-capabilities,--disable-capabilities) \
$(if $(BR2_PACKAGE_COLLECTD_CEPH),--enable-ceph,--disable-ceph) \
$(if $(BR2_PACKAGE_COLLECTD_CHRONY),--enable-chrony,--disable-chrony) \
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH 6/6] package/collectd: add buddyinfo option
2020-04-14 16:38 ` [Buildroot] [PATCH 6/6] package/collectd: add buddyinfo option Fabrice Fontaine
@ 2020-04-14 16:51 ` Asaf Kahlon
2020-04-14 17:02 ` Fabrice Fontaine
0 siblings, 1 reply; 10+ messages in thread
From: Asaf Kahlon @ 2020-04-14 16:51 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, Apr 14, 2020 at 7:36 PM Fabrice Fontaine
<fontaine.fabrice@gmail.com> wrote:
>
> buddyinfo is available since version 5.11.0 and
> https://github.com/collectd/collectd/commit/cb19ecf90d89a79836b8b5236d2b66277dd79c5f
>
> It is currently enabled by default
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> 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 15c871025c..1f55271a97 100644
> --- a/package/collectd/Config.in
> +++ b/package/collectd/Config.in
> @@ -128,6 +128,11 @@ config BR2_PACKAGE_COLLECTD_BIND
> help
> Collects BIND DNS statistics.
>
> +config BR2_PACKAGE_BUDDYINFO
I guess you meant to call this "BR2_PACKAGE_COLLECTD_BUDDYINFO".
> + bool "buddyinfo"
> + help
> + Statistics from buddyinfo file about memory fragmentation.
> +
> config BR2_PACKAGE_COLLECTD_CAPABILITIES
> bool "capabilities"
> select BR2_PACKAGE_JANSSON
> diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
> index f04ccdb2ff..6bd1754ad7 100644
> --- a/package/collectd/collectd.mk
> +++ b/package/collectd/collectd.mk
> @@ -51,6 +51,7 @@ COLLECTD_CONF_OPTS += \
> $(if $(BR2_PACKAGE_COLLECTD_APCUPS),--enable-apcups,--disable-apcups) \
> $(if $(BR2_PACKAGE_COLLECTD_BATTERY),--enable-battery,--disable-battery) \
> $(if $(BR2_PACKAGE_COLLECTD_BIND),--enable-bind,--disable-bind) \
> + $(if $(BR2_PACKAGE_COLLECTD_BUDDYINFO),--enable-buddyinfo,--disable-buddyinfo) \
> $(if $(BR2_PACKAGE_COLLECTD_CAPABILITIES),--enable-capabilities,--disable-capabilities) \
> $(if $(BR2_PACKAGE_COLLECTD_CEPH),--enable-ceph,--disable-ceph) \
> $(if $(BR2_PACKAGE_COLLECTD_CHRONY),--enable-chrony,--disable-chrony) \
> --
> 2.25.1
>
Regards,
Asaf.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH 6/6] package/collectd: add buddyinfo option
2020-04-14 16:51 ` Asaf Kahlon
@ 2020-04-14 17:02 ` Fabrice Fontaine
0 siblings, 0 replies; 10+ messages in thread
From: Fabrice Fontaine @ 2020-04-14 17:02 UTC (permalink / raw)
To: buildroot
Hi Asaf
Le mar. 14 avr. 2020 ? 18:51, Asaf Kahlon <asafka7@gmail.com> a ?crit :
>
> Hello,
>
> On Tue, Apr 14, 2020 at 7:36 PM Fabrice Fontaine
> <fontaine.fabrice@gmail.com> wrote:
> >
> > buddyinfo is available since version 5.11.0 and
> > https://github.com/collectd/collectd/commit/cb19ecf90d89a79836b8b5236d2b66277dd79c5f
> >
> > It is currently enabled by default
> >
> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> > ---
> > 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 15c871025c..1f55271a97 100644
> > --- a/package/collectd/Config.in
> > +++ b/package/collectd/Config.in
> > @@ -128,6 +128,11 @@ config BR2_PACKAGE_COLLECTD_BIND
> > help
> > Collects BIND DNS statistics.
> >
> > +config BR2_PACKAGE_BUDDYINFO
> I guess you meant to call this "BR2_PACKAGE_COLLECTD_BUDDYINFO".
Indeed, thanks for spotting this. I made two many patches on collectd
... I'll send a v2.
>
> > + bool "buddyinfo"
> > + help
> > + Statistics from buddyinfo file about memory fragmentation.
> > +
> > config BR2_PACKAGE_COLLECTD_CAPABILITIES
> > bool "capabilities"
> > select BR2_PACKAGE_JANSSON
> > diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
> > index f04ccdb2ff..6bd1754ad7 100644
> > --- a/package/collectd/collectd.mk
> > +++ b/package/collectd/collectd.mk
> > @@ -51,6 +51,7 @@ COLLECTD_CONF_OPTS += \
> > $(if $(BR2_PACKAGE_COLLECTD_APCUPS),--enable-apcups,--disable-apcups) \
> > $(if $(BR2_PACKAGE_COLLECTD_BATTERY),--enable-battery,--disable-battery) \
> > $(if $(BR2_PACKAGE_COLLECTD_BIND),--enable-bind,--disable-bind) \
> > + $(if $(BR2_PACKAGE_COLLECTD_BUDDYINFO),--enable-buddyinfo,--disable-buddyinfo) \
> > $(if $(BR2_PACKAGE_COLLECTD_CAPABILITIES),--enable-capabilities,--disable-capabilities) \
> > $(if $(BR2_PACKAGE_COLLECTD_CEPH),--enable-ceph,--disable-ceph) \
> > $(if $(BR2_PACKAGE_COLLECTD_CHRONY),--enable-chrony,--disable-chrony) \
> > --
> > 2.25.1
> >
> Regards,
> Asaf.
Best Regards,
Fabrice
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH 5/6] package/collectd: add capabilities option
2020-04-14 16:37 ` [Buildroot] [PATCH 5/6] package/collectd: add capabilities option Fabrice Fontaine
@ 2020-04-15 5:47 ` Thomas Petazzoni
2020-04-15 6:17 ` Fabrice Fontaine
0 siblings, 1 reply; 10+ messages in thread
From: Thomas Petazzoni @ 2020-04-15 5:47 UTC (permalink / raw)
To: buildroot
On Tue, 14 Apr 2020 18:37:59 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> capabilities plugin is available since version 5.11.0 and
> https://github.com/collectd/collectd/commit/b934f1572cdb54cf485b600546a72dbf9929ba2c
>
> It is currently enabled by default depending on jansson and
> libmicrohttpd availability
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/collectd/Config.in | 8 ++++++++
> package/collectd/collectd.mk | 2 ++
> 2 files changed, 10 insertions(+)
>
> diff --git a/package/collectd/Config.in b/package/collectd/Config.in
> index 7186d67c36..15c871025c 100644
> --- a/package/collectd/Config.in
> +++ b/package/collectd/Config.in
> @@ -128,6 +128,14 @@ config BR2_PACKAGE_COLLECTD_BIND
> help
> Collects BIND DNS statistics.
>
> +config BR2_PACKAGE_COLLECTD_CAPABILITIES
> + bool "capabilities"
> + select BR2_PACKAGE_JANSSON
> + select BR2_PACKAGE_LIBMICROHTTPD
> + help
> + Collects selected static platform data using dmidecode and
> + expose it through micro embedded webserver.
So it will use dmidecode, but it does not depend/enable dmidecode ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH 5/6] package/collectd: add capabilities option
2020-04-15 5:47 ` Thomas Petazzoni
@ 2020-04-15 6:17 ` Fabrice Fontaine
0 siblings, 0 replies; 10+ messages in thread
From: Fabrice Fontaine @ 2020-04-15 6:17 UTC (permalink / raw)
To: buildroot
Hi Thomas,
Le mer. 15 avr. 2020 ? 07:47, Thomas Petazzoni
<thomas.petazzoni@bootlin.com> a ?crit :
>
> On Tue, 14 Apr 2020 18:37:59 +0200
> Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
>
> > capabilities plugin is available since version 5.11.0 and
> > https://github.com/collectd/collectd/commit/b934f1572cdb54cf485b600546a72dbf9929ba2c
> >
> > It is currently enabled by default depending on jansson and
> > libmicrohttpd availability
> >
> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> > ---
> > package/collectd/Config.in | 8 ++++++++
> > package/collectd/collectd.mk | 2 ++
> > 2 files changed, 10 insertions(+)
> >
> > diff --git a/package/collectd/Config.in b/package/collectd/Config.in
> > index 7186d67c36..15c871025c 100644
> > --- a/package/collectd/Config.in
> > +++ b/package/collectd/Config.in
> > @@ -128,6 +128,14 @@ config BR2_PACKAGE_COLLECTD_BIND
> > help
> > Collects BIND DNS statistics.
> >
> > +config BR2_PACKAGE_COLLECTD_CAPABILITIES
> > + bool "capabilities"
> > + select BR2_PACKAGE_JANSSON
> > + select BR2_PACKAGE_LIBMICROHTTPD
> > + help
> > + Collects selected static platform data using dmidecode and
> > + expose it through micro embedded webserver.
>
> So it will use dmidecode, but it does not depend/enable dmidecode ?
Indeed, you're right I missed the runtime dependency on dmidecode,
I'll send a v3.
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
Best Regards,
Fabrice
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2020-04-15 6:17 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-14 16:37 [Buildroot] [PATCH 1/6] package/collectd: drop autoreconf Fabrice Fontaine
2020-04-14 16:37 ` [Buildroot] [PATCH 2/6] package/collectd: remove lvm Fabrice Fontaine
2020-04-14 16:37 ` [Buildroot] [PATCH 3/6] package/collectd: add DPDK_TELEMETRY option Fabrice Fontaine
2020-04-14 16:37 ` [Buildroot] [PATCH 4/6] package/collectd: add InfluxDB support Fabrice Fontaine
2020-04-14 16:37 ` [Buildroot] [PATCH 5/6] package/collectd: add capabilities option Fabrice Fontaine
2020-04-15 5:47 ` Thomas Petazzoni
2020-04-15 6:17 ` Fabrice Fontaine
2020-04-14 16:38 ` [Buildroot] [PATCH 6/6] package/collectd: add buddyinfo option Fabrice Fontaine
2020-04-14 16:51 ` Asaf Kahlon
2020-04-14 17:02 ` Fabrice Fontaine
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.