collectd: add ubi uci and plugin info
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 17 Jun 2020 13:17:32 +0000 (15:17 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Wed, 24 Jun 2020 11:20:11 +0000 (13:20 +0200)
Add uci binding for ubi plugin.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
utils/collectd/files/collectd.uci
utils/collectd/files/usr/share/collectd/plugin/ubi.json [new file with mode: 0644]

index f4b3df1ea1ade9d03417221e11cac3769d9fce06..cde38351194ef6d80f3c650000b21ec374aa3be7 100644 (file)
@@ -185,6 +185,11 @@ config globals 'globals'
 #      option IgnoreSelected '0'
 #      list Device ''
 
+#config plugin 'ubi'
+#      option enable '0'
+#      list  Device 'ubi0'
+#      option IgnoreSelected '0'
+
 #config plugin 'unixsock'
 #      option enable '0'
 #      option SocketFile '/var/run/collectd/query.sock'
diff --git a/utils/collectd/files/usr/share/collectd/plugin/ubi.json b/utils/collectd/files/usr/share/collectd/plugin/ubi.json
new file mode 100644 (file)
index 0000000..cf93fc2
--- /dev/null
@@ -0,0 +1,8 @@
+{
+       "bool": [
+               "IgnoreSelected"
+       ],
+       "list": [
+               "Device"
+       ]
+}