From 1c27f6b462b7b488e75a5388198e97be00ba0835 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sat, 19 Nov 2016 16:06:05 +0200 Subject: luci-app-statistics: add support for thermal stats Add support for temperature data from collect-mod-thermal Signed-off-by: Hannu Nyman --- .../luasrc/controller/luci_statistics/luci_statistics.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to '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 cf1bc2e6b2..36c5554d35 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 @@ -50,6 +50,7 @@ function index() sensors = _("Sensors"), splash_leases = _("Splash Leases"), tcpconns = _("TCP Connections"), + thermal = _("Thermal"), unixsock = _("UnixSock"), uptime = _("Uptime") } @@ -57,8 +58,12 @@ function index() -- our collectd menu local collectd_menu = { output = { "csv", "network", "rrdtool", "unixsock" }, - general = { "cpu", "cpufreq", "df", "disk", "email", "entropy", "exec", "irq", "load", "memory", "nut", "processes", "sensors", "uptime" }, - network = { "conntrack", "dns", "interface", "iptables", "netlink", "olsrd", "openvpn", "ping", "splash_leases", "tcpconns", "iwinfo" } + general = { "cpu", "cpufreq", "df", "disk", "email", + "entropy", "exec", "irq", "load", "memory", + "nut", "processes", "sensors", "thermal", "uptime" }, + network = { "conntrack", "dns", "interface", "iptables", + "netlink", "olsrd", "openvpn", "ping", + "splash_leases", "tcpconns", "iwinfo" } } -- create toplevel menu nodes -- cgit v1.2.3