collectd: Update luci-statistics / collectd to 5.4.1 - Luci
[project/luci.git] / applications / luci-statistics / luasrc / statistics / rrdtool / definitions / ping.lua
index 3b77cf1..bdffc85 100644 (file)
@@ -15,12 +15,12 @@ $Id: ping.lua 6810 2011-01-29 03:33:48Z jow $
 
 module("luci.statistics.rrdtool.definitions.ping", package.seeall)
 
-function rrdargs( graph, plugin, plugin_instance, dtype, is_index )
+function rrdargs( graph, plugin, plugin_instance, dtype )
        return {
                -- Ping roundtrip time
                { title = "%H: ICMP Round Trip Time", vlabel = "ms",
                  number_format = "%5.1lf ms", data = {
-                       sources = { ping = { "ping" } },
+                       sources = { ping = { "value" } },
                        options = { ping__ping = { noarea = true, title = "%di" } }
                } },