package/collectd: add 'synproxy' option
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Tue, 16 Feb 2021 13:54:32 +0000 (14:54 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 16 Feb 2021 19:56:03 +0000 (20:56 +0100)
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/collectd/Config.in
package/collectd/collectd.mk

index 679285d99717fa041aed9f6d43ae0a400721153a..82c24fdbc382e74dace02b573e1581f74901810e 100644 (file)
@@ -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
index d57e6b8c1ddc6c46558efba7ff20fa89fe302794..7db753b3428634c2f8e1081fe68d49dd0eebc449 100644 (file)
@@ -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) \