luci-app-statistics: add ping stddev definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
cb252b2c03
commit
b80ccb990b
1 changed files with 19 additions and 1 deletions
|
@ -48,5 +48,23 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return { ping, droprate }
|
local stddev = {
|
||||||
|
title = "%H: ICMP Standard Deviation",
|
||||||
|
vlabel = "ms",
|
||||||
|
number_format = "%5.1lf ms",
|
||||||
|
data = {
|
||||||
|
types = {
|
||||||
|
"ping_stddev"
|
||||||
|
},
|
||||||
|
options = {
|
||||||
|
ping_stddev = {
|
||||||
|
noarea = true,
|
||||||
|
overlay = true,
|
||||||
|
title = "%di"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return { ping, droprate, stddev }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue