openwrt-packages/utils/collectd/files/usr/share/collectd/plugin
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
..
apcups.json collectd: add apcups uci config 2019-09-17 10:15:18 +02:00
conntrack.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
contextswitch.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
cpu.json collectd: add new cpu config values 2019-09-13 13:00:49 +02:00
cpufreq.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
csv.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
curl.json collectd: add curl uci config 2019-09-17 10:15:26 +02:00
df.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
disk.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
dns.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
email.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
entropy.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
exec.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
interface.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
iptables.json collectd: add iptables uci config 2019-09-17 10:15:46 +02:00
irq.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
iwinfo.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
load.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
logfile.json collectd: add logfile plugin definitions 2019-09-20 16:09:24 +02:00
lua.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
memory.json collectd: add new memory config values 2019-09-13 13:01:23 +02:00
mqtt.json collectd: Support config of mqtt plugin 2023-07-27 09:49:28 +03:00
netlink.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
network.json collectd: add network uci config 2019-09-17 10:15:34 +02:00
nut.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
olsrd.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
openvpn.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
ping.json collectd-mod-ping: add support for MaxMissed 2021-08-15 10:38:35 +03:00
processes.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
rrdtool.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
sensors.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
smart.json collectd: enable collectd-mod-smart 2021-03-16 13:23:08 +01:00
swap.json collectd: enable swap plugin 2021-01-10 10:22:54 +02:00
syslog.json collectd: add syslog json plugin 2020-05-04 14:51:14 +02:00
tcpconns.json collectd: enable AllPortsSummary for tcpconns plugin 2023-05-29 23:39:38 +03:00
thermal.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
ubi.json collectd: add ubi uci and plugin info 2020-06-24 13:20:11 +02:00
unixsock.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
uptime.json collectd: add uci config support 2019-04-25 13:01:42 +02:00
vmem.json collectd: add vmem uci config 2019-12-11 00:22:47 +01:00
write_http.json collectd: Support configuration of write_http plugin 2022-06-21 18:30:04 +03:00