aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-09-16 14:27:47 +0200
committerFlorian Eckert <fe@dev.tdt.de>2019-09-17 10:15:18 +0200
commit55eb45988759ef651d9be6b3c65ce5f8a53ab184 (patch)
tree122420d7ae98b551759d523e76987006c9c62f17
parentffe358b918535e6b63499dc8b42fe046b696f785 (diff)
collectd: add apcups uci config
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
-rw-r--r--utils/collectd/files/collectd.uci5
-rw-r--r--utils/collectd/files/usr/share/collectd/plugin/apcups.json6
2 files changed, 11 insertions, 0 deletions
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"
+ ]
+}