aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>2021-02-16 14:54:31 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2021-02-16 20:56:02 +0100
commitfe74c2b846ec19c7964a24ce81ee28a37aba5366 (patch)
treef7b0c20522501868d6a6a50f60b2bcde4017f9d7
parente77ab581208682e0bc2b8e03ab3fe6604e5b803d (diff)
downloadbuildroot-fe74c2b846ec19c7964a24ce81ee28a37aba5366.tar.gz
buildroot-fe74c2b846ec19c7964a24ce81ee28a37aba5366.tar.bz2
package/collectd: add 'logparser' option
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> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/collectd/Config.in5
-rw-r--r--package/collectd/collectd.mk1
2 files changed, 6 insertions, 0 deletions
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) \