Add support for collectd-mod-uptime to luci-statistics
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 23 Apr 2013 10:09:19 +0000 (10:09 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 23 Apr 2013 10:09:19 +0000 (10:09 +0000)
commit4960caf90e93318890df874ef45a9c4689ad370d
tree50fb9226e5196b334f9b4cc83d7f1f0683338f09
parentae2e8c99b1f027ace8fb7678dc7002477c84b9a8
Add support for collectd-mod-uptime to luci-statistics

collectd-mod-uptime is already there, but there has been no Luci support for
it, so no graphs are shown.

Based on forum discussion (see
https://forum.openwrt.org/viewtopic.php?id=42478 ), I submit a patch to add
the support to luci-statistics.

Patch is for Luci trunk and the functionality can be enabled by selecting
collectd-mod-uptime in menuconfig.

signed-off-by: hannu.nyman@iki.fi
applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
applications/luci-statistics/luasrc/model/cbi/luci_statistics/uptime.lua [new file with mode: 0644]
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/uptime.lua [new file with mode: 0644]
applications/luci-statistics/root/etc/config/luci_statistics
applications/luci-statistics/root/usr/bin/stat-genconfig