summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/luasrc/controller/luci_statistics
diff options
context:
space:
mode:
authorChizhong Jin <pjincz@gmail.com>2018-10-14 02:34:49 +0800
committerChizhong Jin <pjincz@gmail.com>2018-10-14 02:34:49 +0800
commit2d1830422b90d3dadc07b2d1ee05b0dc8ef7c583 (patch)
tree63ebbb3e12c8e2d563fd3bcaa78dfacfd3ca751c /applications/luci-app-statistics/luasrc/controller/luci_statistics
parent4f9e23f2b6cc42b8c534d32ec8669b1583c22cc0 (diff)
pp-statistics: add support for cUrl
Add collectd-mod-curl plugin support. Which can do some complex track, such as grab stock, but by now, only response time are supported. Signed-off-by: Chizhong Jin <pjincz@gmail.com>
Diffstat (limited to 'applications/luci-app-statistics/luasrc/controller/luci_statistics')
-rw-r--r--applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua b/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
index ec26f02d0d..b722341fca 100644
--- a/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
+++ b/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
@@ -29,6 +29,7 @@ function index()
cpu = _("Processor"),
cpufreq = _("CPU Frequency"),
csv = _("CSV Output"),
+ curl = _("cUrl"),
df = _("Disk Space Usage"),
disk = _("Disk Usage"),
dns = _("DNS"),
@@ -63,7 +64,7 @@ function index()
general = { "apcups", "contextswitch", "cpu", "cpufreq", "df",
"disk", "email", "entropy", "exec", "irq", "load", "memory",
"nut", "processes", "sensors", "thermal", "uptime" },
- network = { "conntrack", "dns", "interface", "iptables",
+ network = { "conntrack", "curl", "dns", "interface", "iptables",
"netlink", "olsrd", "openvpn", "ping",
"splash_leases", "tcpconns", "iwinfo" }
}