package/collectd: add InfluxDB support

InfluxDB support is available since version 5.11.0 and
605fcdcdde

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2020-04-15 08:30:06 +02:00 committed by Thomas Petazzoni
parent 44e0b6014f
commit 19e08a5ace
2 changed files with 7 additions and 0 deletions

View File

@ -644,6 +644,12 @@ config BR2_PACKAGE_COLLECTD_WRITEHTTP
Sends values collected to a web-server using HTTP POST and
PUTVAL.
config BR2_PACKAGE_COLLECTD_WRITEINFLUXDBUDP
bool "write_influxdb_udp"
help
Sends data to an instance of InfluxDB using the "Line
Protocol".
config BR2_PACKAGE_COLLECTD_WRITELOG
bool "write_log"
help

View File

@ -140,6 +140,7 @@ COLLECTD_CONF_OPTS += \
$(if $(BR2_PACKAGE_COLLECTD_VMEM),--enable-vmem,--disable-vmem) \
$(if $(BR2_PACKAGE_COLLECTD_WIRELESS),--enable-wireless,--disable-wireless) \
$(if $(BR2_PACKAGE_COLLECTD_WRITEHTTP),--enable-write_http,--disable-write_http) \
$(if $(BR2_PACKAGE_COLLECTD_WRITEINFLUXDBUDP),--enable-write_influxdb_udp,--disable-write_influxdb_udp) \
$(if $(BR2_PACKAGE_COLLECTD_WRITELOG),--enable-write_log,--disable-write_log) \
$(if $(BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS),--enable-write_prometheus,--disable-write_prometheus) \
$(if $(BR2_PACKAGE_COLLECTD_WRITEREDIS),--enable-write_redis,--disable-write_redis) \