projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
applications/luci-statistics: convert nut plugin to minutes
[project/luci.git]
/
applications
/
luci-statistics
/
luasrc
/
statistics
/
rrdtool
/
definitions
/
nut.lua
diff --git
a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/nut.lua
b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/nut.lua
index
d10d503
..
421c7a2
100644
(file)
--- a/
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/nut.lua
+++ b/
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/nut.lua
@@
-85,8
+85,8
@@
function rrdargs( graph, plugin, plugin_instance, dtype )
local timeleft = {
title = "%H: Time left on UPS \"%pi\"",
- vlabel = "
second
s",
- number_format = "%7lf
s
",
+ vlabel = "
Minute
s",
+ number_format = "%7lf
m
",
data = {
sources = {
timeleft = { "timeleft" }