statistics: fix ping graph label regression

Update to collectd 5.4.1 changed the field from "ping" to "value",
which was changed in the graph definition here, but the label definition
was forgotten. Field's label now reads "ping_IPaddr_value".

Correct the label definition to show only IPaddr like the other two graphs.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
Hannu Nyman 2015-08-19 11:10:30 +03:00
parent 22f687d0b1
commit 36a7fb48da

View file

@ -9,7 +9,7 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
{ title = "%H: ICMP Round Trip Time", vlabel = "ms",
number_format = "%5.1lf ms", data = {
sources = { ping = { "value" } },
options = { ping__ping = { noarea = true, title = "%di" } }
options = { ping__value = { noarea = true, title = "%di" } }
} },
-- Ping droprate