package/collectd: add 'mdevents' option
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Tue, 16 Feb 2021 13:54:30 +0000 (14:54 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 16 Feb 2021 20:01:02 +0000 (21:01 +0100)
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>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/collectd/Config.in
package/collectd/collectd.mk

index ae694826088929354332ca317472227b82491e47..11136f98ef195e02b67ed46c322abd48661bb43c 100644 (file)
@@ -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
index 4a4e313224087108596f65407bdd3c21ecd74e53..792eb9c35541ae65a6c0f99544ec87cc07540fdc 100644 (file)
@@ -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) \