openwrt-packages/utils/collectd/files
Alexandros Kosiaris 530ccbc90d collectd: Support config of mqtt plugin
mqtt plugin is already built and shipped in
collectd-mod-mqtt, however it is not possible to configure it via
uci currently, instead having to rely on populating the config file manually.

Add support by adding 2 functions, process_mqtt() and
process_mqtt_block(). First one just enables/disables the plugin.
The second one, in the spirit of the curl plugin, adds support for
populating multiple <Publish> and <Subscribe> blocks under <Plugin mqtt>
with support for some parameters. Those are:

* blocktype. Publish or Subscribe. Mandatory
* name. The name of the block. Mandatory
* Host. Mandatory
* Port. Optional
* User. Optional
* Password. Optional
* ClientId. Optional
* QoS. Optional
* Prefix. Optional
* Retain. Optional
* StoreRates. Optional
* CleanSession. Optional
* Topic. Optional

Bump PKG_RELEASE per comments in PR

Signed-off-by: Alexandros Kosiaris <akosiaris@gmail.com>
2023-07-27 09:49:28 +03:00
..
exec-scripts collectd: sqm_collect: optimise parent search 2021-10-06 12:13:11 +01:00
lua-scripts collectd: Fix various issues with lantiq dsl metrics. 2022-06-22 19:02:44 +02:00
usr/share/collectd/plugin collectd: Support config of mqtt plugin 2023-07-27 09:49:28 +03:00
collectd.init collectd: Support config of mqtt plugin 2023-07-27 09:49:28 +03:00
collectd.uci collectd: Support config of mqtt plugin 2023-07-27 09:49:28 +03:00