1 -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
2 -- Licensed to the public under the Apache License 2.0.
4 module("luci.statistics.rrdtool.definitions.ping", package.seeall)
7 return luci.i18n.translate("Ping")
10 function rrdargs( graph, plugin, plugin_instance, dtype )
13 -- Ping roundtrip time
14 { title = "%H: ICMP Round Trip Time",
16 number_format = "%5.1lf ms",
18 sources = { ping = { "value" } },
19 options = { ping__value = {
20 noarea = true, overlay = true, title = "%di" } }
24 { title = "%H: ICMP Drop Rate",
26 number_format = "%5.2lf %%",
28 types = { "ping_droprate" },
29 options = { ping_droprate = {
30 noarea = true, overlay = true, title = "%di", transform_rpn = "100,*" } }