summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/luasrc/controller/luci_statistics
diff options
context:
space:
mode:
authorfantom-x <fantom-x@users.noreply.github.com>2017-04-29 11:26:16 -0400
committerfantom-x <fantom-x@users.noreply.github.com>2017-04-29 12:38:23 -0400
commit5bf636732efab13fdd92dabfd746cafb156dd4f6 (patch)
tree919d8d3bbf8b37f268e1ff62ea4b89ae6284a9c0 /applications/luci-app-statistics/luasrc/controller/luci_statistics
parenta83f0edec21ddd562636e61fd8dcf2fee5b97632 (diff)
Support for collectd-mod-contextswitch
Signed-off-by: Marc Benoit marcb6218@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 36c5554d35..1bc0714de8 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
@@ -24,6 +24,7 @@ function index()
s_network = _("Network plugins"),
conntrack = _("Conntrack"),
+ contextswitch = _("Context Switches"),
cpu = _("Processor"),
cpufreq = _("CPU Frequency"),
csv = _("CSV Output"),
@@ -58,7 +59,7 @@ function index()
-- our collectd menu
local collectd_menu = {
output = { "csv", "network", "rrdtool", "unixsock" },
- general = { "cpu", "cpufreq", "df", "disk", "email",
+ general = { "contextswitch", "cpu", "cpufreq", "df", "disk", "email",
"entropy", "exec", "irq", "load", "memory",
"nut", "processes", "sensors", "thermal", "uptime" },
network = { "conntrack", "dns", "interface", "iptables",