packages/utils/collectd/files
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
..
exec-scripts collectd: sqm_collect: optimise parent search 2021-10-06 12:13:11 +01:00
lua-scripts collectd: Add lua and exec collectors for lantiq dsl metrics 2021-10-22 22:10:17 +02:00
usr/share/collectd/plugin collectd: Support configuration of write_http plugin 2022-06-21 18:30:04 +03:00
collectd.init collectd: Support configuration of write_http plugin 2022-06-21 18:30:04 +03:00
collectd.uci collectd: Support configuration of write_http plugin 2022-06-21 18:30:04 +03:00