summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/root/usr/share
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-02-06 12:07:08 +0100
committerJo-Philipp Wich <jo@mein.io>2020-02-06 12:54:07 +0100
commit556e14c74307a9b93291e7c25d5eb71ab3260ab6 (patch)
tree47facc735b1c06ae201d66375d6778c826cc5fbd /applications/luci-app-statistics/root/usr/share
parente6f76f21ba7f0e8f903d5251a620386cd02b524b (diff)
luci-app-statistics: convert plugin definitions to JSON
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-statistics/root/usr/share')
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/apcups.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/conntrack.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/contextswitch.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/cpu.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/cpufreq.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/csv.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/curl.json4
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/df.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/disk.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/dns.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/email.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/entropy.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/exec.json4
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/interface.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/iptables.json4
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/irq.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/iwinfo.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/load.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/memory.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/netlink.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/network.json4
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/nut.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/olsrd.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/openvpn.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/ping.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/processes.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/rrdtool.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/sensors.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/splash_leases.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/tcpconns.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/thermal.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/unixsock.json9
-rw-r--r--applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/uptime.json9
33 files changed, 277 insertions, 0 deletions
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/apcups.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/apcups.json
new file mode 100644
index 0000000000..c67255df25
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/apcups.json
@@ -0,0 +1,9 @@
+{
+ "title": "APC UPS",
+ "category": "general",
+ "legend": [
+ ["Host", "Port"],
+ [],
+ []
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/conntrack.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/conntrack.json
new file mode 100644
index 0000000000..ad0895dd01
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/conntrack.json
@@ -0,0 +1,9 @@
+{
+ "title": "Conntrack",
+ "category": "network",
+ "legend": [
+ [],
+ [],
+ []
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/contextswitch.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/contextswitch.json
new file mode 100644
index 0000000000..c11a55cd07
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/contextswitch.json
@@ -0,0 +1,9 @@
+{
+ "title": "Context Switches",
+ "category": "general",
+ "legend": [
+ [],
+ [],
+ []
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/cpu.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/cpu.json
new file mode 100644
index 0000000000..1c9b26c28d
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/cpu.json
@@ -0,0 +1,9 @@
+{
+ "title": "Processor",
+ "category": "general",
+ "legend": [
+ [],
+ ["ValuesPercentage", "ReportByCpu", "ReportByState"],
+ []
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/cpufreq.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/cpufreq.json
new file mode 100644
index 0000000000..1bb7d60671
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/cpufreq.json
@@ -0,0 +1,9 @@
+{
+ "title": "CPU Frequency",
+ "category": "general",
+ "legend": [
+ [],
+ [],
+ []
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/csv.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/csv.json
new file mode 100644
index 0000000000..36f0ff7f18
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/csv.json
@@ -0,0 +1,9 @@
+{
+ "title": "CSV Output",
+ "category": "output",
+ "legend": [
+ ["DataDir"],
+ ["StoreRates"],
+ []
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/curl.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/curl.json
new file mode 100644
index 0000000000..3e92af6b83
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/curl.json
@@ -0,0 +1,4 @@
+{
+ "title": "cUrl",
+ "category": "network"
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/df.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/df.json
new file mode 100644
index 0000000000..b6cfe53a20
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/df.json
@@ -0,0 +1,9 @@
+{
+ "title": "Disk Space Usage",
+ "category": "general",
+ "legend": [
+ [],
+ ["IgnoreSelected"],
+ ["Devices", "MountPoints", "FSTypes"]
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/disk.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/disk.json
new file mode 100644
index 0000000000..57d7c65b05
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/disk.json
@@ -0,0 +1,9 @@
+{
+ "title": "Disk Usage",
+ "category": "general",
+ "legend": [
+ [],
+ ["IgnoreSelected"],
+ ["Disks"]
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/dns.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/dns.json
new file mode 100644
index 0000000000..72d5848b2e
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/dns.json
@@ -0,0 +1,9 @@
+{
+ "title": "DNS",
+ "category": "network",
+ "legend": [
+ [],
+ [],
+ ["Interfaces", "IgnoreSources"]
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/email.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/email.json
new file mode 100644
index 0000000000..b69a8c32d3
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/email.json
@@ -0,0 +1,9 @@
+{
+ "title": "Email",
+ "category": "general",
+ "legend": [
+ ["SocketFile", "SocketGroup", "SocketPerms", "MaxConns"],
+ [],
+ []
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/entropy.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/entropy.json
new file mode 100644
index 0000000000..da59af696f
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/entropy.json
@@ -0,0 +1,9 @@
+{
+ "title": "Entropy",
+ "category": "general",
+ "legend": [
+ [],
+ [],
+ []
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/exec.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/exec.json
new file mode 100644
index 0000000000..b26354c7a1
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/exec.json
@@ -0,0 +1,4 @@
+{
+ "title": "Exec",
+ "category": "general"
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/interface.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/interface.json
new file mode 100644
index 0000000000..0af71c495f
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/interface.json
@@ -0,0 +1,9 @@
+{
+ "title": "Interfaces",
+ "category": "network",
+ "legend": [
+ [],
+ ["IgnoreSelected"],
+ ["Interfaces"]
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/iptables.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/iptables.json
new file mode 100644
index 0000000000..4558f83a3d
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/iptables.json
@@ -0,0 +1,4 @@
+{
+ "title": "Firewall",
+ "category": "network"
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/irq.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/irq.json
new file mode 100644
index 0000000000..a3ff4ad64c
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/irq.json
@@ -0,0 +1,9 @@
+{
+ "title": "Interrupts",
+ "category": "general",
+ "legend": [
+ [],
+ ["IgnoreSelected"],
+ ["Irqs"]
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/iwinfo.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/iwinfo.json
new file mode 100644
index 0000000000..dc9c58c405
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/iwinfo.json
@@ -0,0 +1,9 @@
+{
+ "title": "Wireless",
+ "category": "network",
+ "legend": [
+ [],
+ ["IgnoreSelected"],
+ ["Interfaces"]
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/load.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/load.json
new file mode 100644
index 0000000000..aff3cfffde
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/load.json
@@ -0,0 +1,9 @@
+{
+ "title": "System Load",
+ "category": "general",
+ "legend": [
+ [],
+ [],
+ []
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/memory.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/memory.json
new file mode 100644
index 0000000000..2e1e2577af
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/memory.json
@@ -0,0 +1,9 @@
+{
+ "title": "Memory",
+ "category": "general",
+ "legend": [
+ [],
+ ["ValuesPercentage", "ValuesAbsolute"],
+ []
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/netlink.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/netlink.json
new file mode 100644
index 0000000000..e55ab79b7c
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/netlink.json
@@ -0,0 +1,9 @@
+{
+ "title": "Netlink",
+ "category": "network",
+ "legend": [
+ [],
+ ["IgnoreSelected"],
+ ["Interfaces", "VerboseInterfaces", "QDiscs", "Classes", "Filters"]
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/network.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/network.json
new file mode 100644
index 0000000000..2e8f857108
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/network.json
@@ -0,0 +1,4 @@
+{
+ "title": "Network",
+ "category": "output"
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/nut.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/nut.json
new file mode 100644
index 0000000000..aaf33be256
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/nut.json
@@ -0,0 +1,9 @@
+{
+ "title": "UPS",
+ "category": "general",
+ "legend": [
+ [],
+ [],
+ ["UPS"]
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/olsrd.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/olsrd.json
new file mode 100644
index 0000000000..2ee2eee088
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/olsrd.json
@@ -0,0 +1,9 @@
+{
+ "title": "OLSRd",
+ "category": "network",
+ "legend": [
+ ["Host", "Port", "CollectLinks", "CollectRoutes", "CollectTopology"],
+ [],
+ []
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/openvpn.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/openvpn.json
new file mode 100644
index 0000000000..520162d1f5
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/openvpn.json
@@ -0,0 +1,9 @@
+{
+ "title": "OpenVPN",
+ "category": "network",
+ "legend": [
+ [],
+ ["CollectIndividualUsers", "CollectUserCount", "CollectCompression", "ImprovedNamingSchema"],
+ ["StatusFile"]
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/ping.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/ping.json
new file mode 100644
index 0000000000..0943605129
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/ping.json
@@ -0,0 +1,9 @@
+{
+ "title": "Ping",
+ "category": "network",
+ "legend": [
+ ["TTL", "Interval", "AddressFamily"],
+ [],
+ ["Hosts"]
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/processes.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/processes.json
new file mode 100644
index 0000000000..9817e7a15f
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/processes.json
@@ -0,0 +1,9 @@
+{
+ "title": "Processes",
+ "category": "general",
+ "legend": [
+ [],
+ [],
+ ["Processes"]
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/rrdtool.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/rrdtool.json
new file mode 100644
index 0000000000..26a3e4ffce
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/rrdtool.json
@@ -0,0 +1,9 @@
+{
+ "title": "RRDTool",
+ "category": "output",
+ "legend": [
+ ["DataDir", "StepSize", "HeartBeat", "RRARows", "XFF", "CacheFlush", "CacheTimeout"],
+ ["RRASingle"],
+ ["RRATimespans"]
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/sensors.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/sensors.json
new file mode 100644
index 0000000000..10a61fa17e
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/sensors.json
@@ -0,0 +1,9 @@
+{
+ "title": "Sensors",
+ "category": "general",
+ "legend": [
+ [],
+ ["IgnoreSelected"],
+ ["Sensor"]
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/splash_leases.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/splash_leases.json
new file mode 100644
index 0000000000..b99ed75ec3
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/splash_leases.json
@@ -0,0 +1,9 @@
+{
+ "title": "Splash Leases",
+ "category": "network",
+ "legend": [
+ [],
+ [],
+ []
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/tcpconns.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/tcpconns.json
new file mode 100644
index 0000000000..f932994b43
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/tcpconns.json
@@ -0,0 +1,9 @@
+{
+ "title": "TCP Connections",
+ "category": "network",
+ "legend": [
+ [],
+ ["ListeningPorts"],
+ ["LocalPorts", "RemotePorts"]
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/thermal.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/thermal.json
new file mode 100644
index 0000000000..1aef155178
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/thermal.json
@@ -0,0 +1,9 @@
+{
+ "title": "Thermal",
+ "category": "general",
+ "legend": [
+ [],
+ ["IgnoreSelected"],
+ ["Device"]
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/unixsock.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/unixsock.json
new file mode 100644
index 0000000000..36a3fab604
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/unixsock.json
@@ -0,0 +1,9 @@
+{
+ "title": "UnixSock",
+ "category": "output",
+ "legend": [
+ ["SocketFile", "SocketGroup", "SocketPerms"],
+ [],
+ []
+ ]
+}
diff --git a/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/uptime.json b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/uptime.json
new file mode 100644
index 0000000000..c28f09391d
--- /dev/null
+++ b/applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/uptime.json
@@ -0,0 +1,9 @@
+{
+ "title": "Uptime",
+ "category": "general",
+ "legend": [
+ [],
+ [],
+ []
+ ]
+}