projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
statistics: Add support for entropy stats
[project/luci.git]
/
applications
/
luci-app-statistics
/
luasrc
/
controller
/
luci_statistics
/
luci_statistics.lua
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
c532b4a
..
49eab5a
100644
(file)
--- a/
applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
+++ b/
applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
@@
-30,6
+30,7
@@
function index()
disk = _("Disk Usage"),
dns = _("DNS"),
email = _("Email"),
disk = _("Disk Usage"),
dns = _("DNS"),
email = _("Email"),
+ entropy = _("Entropy"),
exec = _("Exec"),
interface = _("Interfaces"),
iptables = _("Firewall"),
exec = _("Exec"),
interface = _("Interfaces"),
iptables = _("Firewall"),
@@
-53,7
+54,7
@@
function index()
-- our collectd menu
local collectd_menu = {
output = { "csv", "network", "rrdtool", "unixsock" },
-- our collectd menu
local collectd_menu = {
output = { "csv", "network", "rrdtool", "unixsock" },
- system = { "cpu", "df", "disk", "email", "exec", "irq", "load", "memory", "nut", "processes", "uptime" },
+ system = { "cpu", "df", "disk", "email", "e
ntropy", "e
xec", "irq", "load", "memory", "nut", "processes", "uptime" },
network = { "conntrack", "dns", "interface", "iptables", "netlink", "olsrd", "ping", "splash_leases", "tcpconns", "iwinfo" }
}
network = { "conntrack", "dns", "interface", "iptables", "netlink", "olsrd", "ping", "splash_leases", "tcpconns", "iwinfo" }
}