summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/luasrc/statistics/rrdtool
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-statistics/luasrc/statistics/rrdtool')
-rw-r--r--applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/ping.lua20
1 files changed, 19 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/ping.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/ping.lua
index 6ad11985ec..b8d11c0759 100644
--- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/ping.lua
+++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/ping.lua
@@ -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