luci/statistics: Fix nut UPS graphs 486/head
authorDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 17 Sep 2015 10:35:38 +0000 (11:35 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 22 Sep 2015 20:56:59 +0000 (21:56 +0100)
commit75327e3c354cd3ea76e1d19f298247c546cb0fdb
treefad9d622559c4637946bddec80968f459de51842
parent30f6fe82af20fded9ab4100f0f2a652bf5881947
luci/statistics: Fix nut UPS graphs

At some point since I last checked, the nut plugin for collectd changed the
names of the timeleft and percent datasets. Update the luci module to match
so that those graphs are generated correctly again.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
(cherry picked from commit 41ec4c68adf7e6545aa10b359fea1883bec79b3e)
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/nut.lua