All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/4] package/collectd: add 'infiniband' option
@ 2021-02-16 13:54 Thomas De Schampheleire
  2021-02-16 13:54 ` [Buildroot] [PATCH] package/collectd: add option to enable UBI counters Thomas De Schampheleire
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Thomas De Schampheleire @ 2021-02-16 13:54 UTC (permalink / raw)
  To: buildroot

From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

The infiniband plugin is new since 5.12.0 and enabled by default in
collectd.

Add an option in Buildroot, disabled by default.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.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 f02cedda49..ae69482608 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -285,6 +285,11 @@ config BR2_PACKAGE_COLLECTD_HUGEPAGES
 	help
 	  Reports the number of used and free hugepages on Linux.
 
+config BR2_PACKAGE_COLLECTD_INFINIBAND
+	bool "infiniband"
+	help
+	  Attributes and counters for each port on each IB device.
+
 config BR2_PACKAGE_COLLECTD_INTERFACE
 	bool "interface"
 	help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 3fcca12a45..4a4e313224 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -83,6 +83,7 @@ COLLECTD_CONF_OPTS += \
 	$(if $(BR2_PACKAGE_COLLECTD_GRPC),--enable-grpc,--disable-grpc) \
 	$(if $(BR2_PACKAGE_COLLECTD_HASHED),--enable-match_hashed,--disable-match_hashed) \
 	$(if $(BR2_PACKAGE_COLLECTD_HUGEPAGES),--enable-hugepages,--disable-hugepages) \
+	$(if $(BR2_PACKAGE_COLLECTD_INFINIBAND),--enable-infiniband,--disable-infiniband) \
 	$(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.26.2

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

* [Buildroot] [PATCH] package/collectd: add option to enable UBI counters
  2021-02-16 13:54 [Buildroot] [PATCH 1/4] package/collectd: add 'infiniband' option Thomas De Schampheleire
@ 2021-02-16 13:54 ` Thomas De Schampheleire
  2021-02-16 13:56   ` Thomas De Schampheleire
  2021-02-16 13:54 ` [Buildroot] [PATCH 2/4] package/collectd: add 'mdevents' option Thomas De Schampheleire
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 11+ messages in thread
From: Thomas De Schampheleire @ 2021-02-16 13:54 UTC (permalink / raw)
  To: buildroot

From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

The 'ubi' collectd plugin was added in 5.11.0.
Add options in Buildroot to enable it.

Based on code by Bart De Vos.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
 package/collectd/Config.in   | 10 ++++++++++
 package/collectd/collectd.mk |  1 +
 2 files changed, 11 insertions(+)

diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 3e854ba518..f02cedda49 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -525,6 +525,16 @@ config BR2_PACKAGE_COLLECTD_THERMAL
 	help
 	  Reads ACPI thermal zone information.
 
+config BR2_PACKAGE_COLLECTD_UBI
+	bool "ubi"
+	help
+	  UBI (Unsorted Block Images) is an erase block management layer
+	  for flash memory devices. UBI serves two purposes, tracking
+	  NAND flash bad blocks and providing wear leveling.
+	  This plugin collects some stats about UBI devices:
+	   * bad physical underlying blocks (bad_peb_count)
+	   * max erase counter value (max_ec)
+
 config BR2_PACKAGE_COLLECTD_UPTIME
 	bool "uptime"
 	help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 8fa278df7e..ccca9bf388 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -137,6 +137,7 @@ COLLECTD_CONF_OPTS += \
 	$(if $(BR2_PACKAGE_COLLECTD_THERMAL),--enable-thermal,--disable-thermal) \
 	$(if $(BR2_PACKAGE_COLLECTD_THRESHOLD),--enable-threshold,--disable-threshold) \
 	$(if $(BR2_PACKAGE_COLLECTD_TIMEDIFF),--enable-match_timediff,--disable-match_timediff) \
+	$(if $(BR2_PACKAGE_COLLECTD_UBI),--enable-ubi,--disable-ubi) \
 	$(if $(BR2_PACKAGE_COLLECTD_UNIXSOCK),--enable-unixsock,--disable-unixsock) \
 	$(if $(BR2_PACKAGE_COLLECTD_UPTIME),--enable-uptime,--disable-uptime) \
 	$(if $(BR2_PACKAGE_COLLECTD_USERS),--enable-users,--disable-users) \
-- 
2.26.2

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

* [Buildroot] [PATCH 2/4] package/collectd: add 'mdevents' option
  2021-02-16 13:54 [Buildroot] [PATCH 1/4] package/collectd: add 'infiniband' option Thomas De Schampheleire
  2021-02-16 13:54 ` [Buildroot] [PATCH] package/collectd: add option to enable UBI counters Thomas De Schampheleire
@ 2021-02-16 13:54 ` Thomas De Schampheleire
  2021-02-16 20:01   ` Peter Korsgaard
  2021-02-16 13:54 ` [Buildroot] [PATCH 3/4] package/collectd: add 'logparser' option Thomas De Schampheleire
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 11+ messages in thread
From: Thomas De Schampheleire @ 2021-02-16 13:54 UTC (permalink / raw)
  To: buildroot

From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

The mdevents plugin is new since 5.12.0 and enabled by default in
collectd.

Add an option in Buildroot, disabled by default.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.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 ae69482608..11136f98ef 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -331,6 +331,11 @@ config BR2_PACKAGE_COLLECTD_MD
 	help
 	  Collects software-RAID device information.
 
+config BR2_PACKAGE_COLLECTD_MDEVENTS
+	bool "mdevents"
+	help
+	  Events from md (Linux Software RAID) devices.
+
 config BR2_PACKAGE_COLLECTD_MEMCACHEC
 	bool "memcachec"
 	depends on BR2_INSTALL_LIBSTDCPP
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 4a4e313224..792eb9c355 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -94,6 +94,7 @@ COLLECTD_CONF_OPTS += \
 	$(if $(BR2_PACKAGE_COLLECTD_LOGSTASH),--enable-log_logstash,--disable-log_logstash) \
 	$(if $(BR2_PACKAGE_COLLECTD_LUA),--enable-lua,--disable-lua) \
 	$(if $(BR2_PACKAGE_COLLECTD_MD),--enable-md,--disable-md) \
+	$(if $(BR2_PACKAGE_COLLECTD_MDEVENTS),--enable-mdevents,--disable-mdevents) \
 	$(if $(BR2_PACKAGE_COLLECTD_MEMCACHEC),--enable-memcachec,--disable-memcachec) \
 	$(if $(BR2_PACKAGE_COLLECTD_MEMCACHED),--enable-memcached,--disable-memcached) \
 	$(if $(BR2_PACKAGE_COLLECTD_MEMORY),--enable-memory,--disable-memory) \
-- 
2.26.2

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

* [Buildroot] [PATCH 3/4] package/collectd: add 'logparser' option
  2021-02-16 13:54 [Buildroot] [PATCH 1/4] package/collectd: add 'infiniband' option Thomas De Schampheleire
  2021-02-16 13:54 ` [Buildroot] [PATCH] package/collectd: add option to enable UBI counters Thomas De Schampheleire
  2021-02-16 13:54 ` [Buildroot] [PATCH 2/4] package/collectd: add 'mdevents' option Thomas De Schampheleire
@ 2021-02-16 13:54 ` Thomas De Schampheleire
  2021-02-16 20:01   ` Peter Korsgaard
  2021-02-16 13:54 ` [Buildroot] [PATCH 4/4] package/collectd: add 'synproxy' option Thomas De Schampheleire
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 11+ messages in thread
From: Thomas De Schampheleire @ 2021-02-16 13:54 UTC (permalink / raw)
  To: buildroot

From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

The logparser plugin is new since 5.11.0 and enabled by default in
collectd.

Add an option in Buildroot, disabled by default.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.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 11136f98ef..679285d997 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -326,6 +326,11 @@ config BR2_PACKAGE_COLLECTD_LOAD
 	help
 	  Collects the system load.
 
+config BR2_PACKAGE_COLLECTD_LOGPARSER
+	bool "logparser"
+	help
+	  Plugin for filtering and parsing log messages.
+
 config BR2_PACKAGE_COLLECTD_MD
 	bool "md"
 	help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 792eb9c355..d57e6b8c1d 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -91,6 +91,7 @@ COLLECTD_CONF_OPTS += \
 	$(if $(BR2_PACKAGE_COLLECTD_IRQ),--enable-irq,--disable-irq) \
 	$(if $(BR2_PACKAGE_COLLECTD_LOAD),--enable-load,--disable-load) \
 	$(if $(BR2_PACKAGE_COLLECTD_LOGFILE),--enable-logfile,--disable-logfile) \
+	$(if $(BR2_PACKAGE_COLLECTD_LOGPARSER),--enable-logparser,--disable-logparser) \
 	$(if $(BR2_PACKAGE_COLLECTD_LOGSTASH),--enable-log_logstash,--disable-log_logstash) \
 	$(if $(BR2_PACKAGE_COLLECTD_LUA),--enable-lua,--disable-lua) \
 	$(if $(BR2_PACKAGE_COLLECTD_MD),--enable-md,--disable-md) \
-- 
2.26.2

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

* [Buildroot] [PATCH 4/4] package/collectd: add 'synproxy' option
  2021-02-16 13:54 [Buildroot] [PATCH 1/4] package/collectd: add 'infiniband' option Thomas De Schampheleire
                   ` (2 preceding siblings ...)
  2021-02-16 13:54 ` [Buildroot] [PATCH 3/4] package/collectd: add 'logparser' option Thomas De Schampheleire
@ 2021-02-16 13:54 ` Thomas De Schampheleire
  2021-02-16 20:01   ` Peter Korsgaard
  2021-02-16 20:01 ` [Buildroot] [PATCH 1/4] package/collectd: add 'infiniband' option Peter Korsgaard
  2021-02-16 20:03 ` Thomas Petazzoni
  5 siblings, 1 reply; 11+ messages in thread
From: Thomas De Schampheleire @ 2021-02-16 13:54 UTC (permalink / raw)
  To: buildroot

From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

The synproxy plugin exists since 5.8.0 and is enabled by default in
collectd.

Add an option in Buildroot, disabled by default.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.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 679285d997..82c24fdbc3 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -513,6 +513,11 @@ config BR2_PACKAGE_COLLECTD_SWAP
 	help
 	  Collects the amount of memory currently written to disk.
 
+config BR2_PACKAGE_COLLECTD_SYNPROXY
+	bool "synproxy"
+	help
+	  Synproxy stats plugin.
+
 config BR2_PACKAGE_COLLECTD_TABLE
 	bool "table"
 	help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index d57e6b8c1d..7db753b342 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -132,6 +132,7 @@ COLLECTD_CONF_OPTS += \
 	$(if $(BR2_PACKAGE_COLLECTD_SMART),--enable-smart,--disable-smart) \
 	$(if $(BR2_PACKAGE_COLLECTD_SNMP),--enable-snmp,--disable-snmp) \
 	$(if $(BR2_PACKAGE_COLLECTD_SWAP),--enable-swap,--disable-swap) \
+	$(if $(BR2_PACKAGE_COLLECTD_SYNPROXY),--enable-synproxy,--disable-synproxy) \
 	$(if $(BR2_PACKAGE_COLLECTD_SYSLOG),--enable-syslog,--disable-syslog) \
 	$(if $(BR2_PACKAGE_COLLECTD_TABLE),--enable-table,--disable-table) \
 	$(if $(BR2_PACKAGE_COLLECTD_TAIL),--enable-tail,--disable-tail) \
-- 
2.26.2

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

* [Buildroot] [PATCH] package/collectd: add option to enable UBI counters
  2021-02-16 13:54 ` [Buildroot] [PATCH] package/collectd: add option to enable UBI counters Thomas De Schampheleire
@ 2021-02-16 13:56   ` Thomas De Schampheleire
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas De Schampheleire @ 2021-02-16 13:56 UTC (permalink / raw)
  To: buildroot

El mar, 16 feb 2021 a las 14:54, Thomas De Schampheleire
(<patrickdepinguin@gmail.com>) escribi?:
>
> From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
>
> The 'ubi' collectd plugin was added in 5.11.0.
> Add options in Buildroot to enable it.
>
> Based on code by Bart De Vos.
>
> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
> ---

Sorry, ignore this patch please.
It has already been applied and resent accidentally.

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

* [Buildroot] [PATCH 1/4] package/collectd: add 'infiniband' option
  2021-02-16 13:54 [Buildroot] [PATCH 1/4] package/collectd: add 'infiniband' option Thomas De Schampheleire
                   ` (3 preceding siblings ...)
  2021-02-16 13:54 ` [Buildroot] [PATCH 4/4] package/collectd: add 'synproxy' option Thomas De Schampheleire
@ 2021-02-16 20:01 ` Peter Korsgaard
  2021-02-16 20:03 ` Thomas Petazzoni
  5 siblings, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2021-02-16 20:01 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin@gmail.com> writes:

 > From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
 > The infiniband plugin is new since 5.12.0 and enabled by default in
 > collectd.

 > Add an option in Buildroot, disabled by default.

 > Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 4/4] package/collectd: add 'synproxy' option
  2021-02-16 13:54 ` [Buildroot] [PATCH 4/4] package/collectd: add 'synproxy' option Thomas De Schampheleire
@ 2021-02-16 20:01   ` Peter Korsgaard
  0 siblings, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2021-02-16 20:01 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin@gmail.com> writes:

 > From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
 > The synproxy plugin exists since 5.8.0 and is enabled by default in
 > collectd.

 > Add an option in Buildroot, disabled by default.

 > Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 3/4] package/collectd: add 'logparser' option
  2021-02-16 13:54 ` [Buildroot] [PATCH 3/4] package/collectd: add 'logparser' option Thomas De Schampheleire
@ 2021-02-16 20:01   ` Peter Korsgaard
  0 siblings, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2021-02-16 20:01 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin@gmail.com> writes:

 > From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
 > The logparser plugin is new since 5.11.0 and enabled by default in
 > collectd.

 > Add an option in Buildroot, disabled by default.

 > Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 2/4] package/collectd: add 'mdevents' option
  2021-02-16 13:54 ` [Buildroot] [PATCH 2/4] package/collectd: add 'mdevents' option Thomas De Schampheleire
@ 2021-02-16 20:01   ` Peter Korsgaard
  0 siblings, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2021-02-16 20:01 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin@gmail.com> writes:

 > From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
 > The mdevents plugin is new since 5.12.0 and enabled by default in
 > collectd.

 > Add an option in Buildroot, disabled by default.

 > Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 1/4] package/collectd: add 'infiniband' option
  2021-02-16 13:54 [Buildroot] [PATCH 1/4] package/collectd: add 'infiniband' option Thomas De Schampheleire
                   ` (4 preceding siblings ...)
  2021-02-16 20:01 ` [Buildroot] [PATCH 1/4] package/collectd: add 'infiniband' option Peter Korsgaard
@ 2021-02-16 20:03 ` Thomas Petazzoni
  5 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2021-02-16 20:03 UTC (permalink / raw)
  To: buildroot

On Tue, 16 Feb 2021 14:54:28 +0100
Thomas De Schampheleire <patrickdepinguin@gmail.com> wrote:

> From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
> 
> The infiniband plugin is new since 5.12.0 and enabled by default in
> collectd.
> 
> Add an option in Buildroot, disabled by default.
> 
> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
> ---
>  package/collectd/Config.in   | 5 +++++
>  package/collectd/collectd.mk | 1 +
>  2 files changed, 6 insertions(+)

Series applied to next. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2021-02-16 20:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16 13:54 [Buildroot] [PATCH 1/4] package/collectd: add 'infiniband' option Thomas De Schampheleire
2021-02-16 13:54 ` [Buildroot] [PATCH] package/collectd: add option to enable UBI counters Thomas De Schampheleire
2021-02-16 13:56   ` Thomas De Schampheleire
2021-02-16 13:54 ` [Buildroot] [PATCH 2/4] package/collectd: add 'mdevents' option Thomas De Schampheleire
2021-02-16 20:01   ` Peter Korsgaard
2021-02-16 13:54 ` [Buildroot] [PATCH 3/4] package/collectd: add 'logparser' option Thomas De Schampheleire
2021-02-16 20:01   ` Peter Korsgaard
2021-02-16 13:54 ` [Buildroot] [PATCH 4/4] package/collectd: add 'synproxy' option Thomas De Schampheleire
2021-02-16 20:01   ` Peter Korsgaard
2021-02-16 20:01 ` [Buildroot] [PATCH 1/4] package/collectd: add 'infiniband' option Peter Korsgaard
2021-02-16 20:03 ` Thomas Petazzoni

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.