From: Florian Eckert Date: Mon, 16 Sep 2019 12:27:47 +0000 (+0200) Subject: collectd: add apcups uci config X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=55eb45988759ef651d9be6b3c65ce5f8a53ab184;p=openwrt-packages.git collectd: add apcups uci config Signed-off-by: Florian Eckert --- diff --git a/utils/collectd/files/collectd.uci b/utils/collectd/files/collectd.uci index 73e2c2ab5..fa472c985 100644 --- a/utils/collectd/files/collectd.uci +++ b/utils/collectd/files/collectd.uci @@ -8,6 +8,11 @@ config globals 'globals' # option Interval '30' # option ReadThreads '2' +#config plugin 'apcups' +# option enable '0' +# option Host 'localhost' +# option Port '3551' + #config plugin 'conntrack' # option enable '0' diff --git a/utils/collectd/files/usr/share/collectd/plugin/apcups.json b/utils/collectd/files/usr/share/collectd/plugin/apcups.json new file mode 100644 index 000000000..15a31df9f --- /dev/null +++ b/utils/collectd/files/usr/share/collectd/plugin/apcups.json @@ -0,0 +1,6 @@ +{ + "string": [ + "Host", + "Port" + ] +}