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 <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Thomas De Schampheleire 2021-02-16 14:54:30 +01:00 committed by Thomas Petazzoni
parent 6b41a0e91e
commit e77ab58120
2 changed files with 6 additions and 0 deletions

View 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

View 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) \