Commit Graph

17 Commits

Author SHA1 Message Date
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
Maxim Storchak 8270bd173e collectd: enable AllPortsSummary for tcpconns plugin
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2023-05-29 23:39:38 +03:00
Alexandros Kosiaris 033c19acd7 collectd: Support configuration of write_http plugin
write_http plugin is already built and shipped in
collectd-mod-write_http, 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_write_http() and
process_write_http_node(). First one just enables/disables the plugin.
The second one, in the spirit of the curl plugin, adds support for
populating multiple <Node> elements under <Plugin write_http> with
support for a few parameters. Those are:

* name. The name of the <Node>. Mandatory
* URL. Mandatory
* Format. Optional.
* User. Optional.
* Password. Optional.
* Timeout. Optional.
* BufferSize. Optional.

Signed-off-by: Alexandros Kosiaris <akosiaris@gmail.com>
2022-06-21 18:30:04 +03:00
John Kohl b5782a0f0d collectd-mod-ping: add support for MaxMissed
Signed-off-by: John Kohl <jtk.git@bostonpog.org>
2021-08-15 10:38:35 +03:00
Florian Eckert 092902a87e collectd: enable collectd-mod-smart
Switching on compilation for collectd smart plugin.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-03-16 13:23:08 +01:00
Maxim Storchak 0412c27fda collectd: enable swap plugin
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2021-01-10 10:22:54 +02:00
Florian Eckert a481a2006c collectd: add ubi uci and plugin info
Add uci binding for ubi plugin.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-06-24 13:20:11 +02:00
Florian Eckert bb666cc9ff collectd: add syslog json plugin
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-05-04 14:51:14 +02:00
Marcin Jurkowski 3763b238e7 collectd: add vmem uci config
Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
2019-12-11 00:22:47 +01:00
Florian Eckert 2b221b5b06 collectd: add logfile plugin definitions
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-20 16:09:24 +02:00
Florian Eckert 6141aa2f23 collectd: add iptables uci config
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-17 10:15:46 +02:00
Florian Eckert 7d3cbda4af collectd: add network uci config
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-17 10:15:34 +02:00
Florian Eckert 1205ab461b collectd: add curl uci config
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-17 10:15:26 +02:00
Florian Eckert 55eb459887 collectd: add apcups uci config
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-17 10:15:18 +02:00
Florian Eckert 1082477fbc collectd: add new memory config values
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-13 13:01:23 +02:00
Florian Eckert cae6563091 collectd: add new cpu config values
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-13 13:00:49 +02:00
Florian Eckert 3d15ebca31 collectd: add uci config support
Add uci config support.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-04-25 13:01:42 +02:00