From 933de25dc0cbc5bfd683b97e85e53d020184d98f Mon Sep 17 00:00:00 2001 From: Thomas De Schampheleire Date: Tue, 16 Feb 2021 14:54:30 +0100 Subject: [PATCH] package/collectd: add 'mdevents' option 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 Signed-off-by: Peter Korsgaard --- 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.30.2