Merge pull request #444 from hnyman/fixconntrack

statistics: fix conntrack and ping regression caused by collectd changes
This commit is contained in:
Jo-Philipp Wich 2015-08-19 10:08:42 +02:00
commit 8597b86ebf
2 changed files with 5 additions and 1 deletions

View file

@ -9,6 +9,10 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
vlabel = "Count",
number_format = "%5.0lf",
data = {
-- collectd 5.5+: specify "" to exclude "max" instance
instances = {
conntrack = { "" }
},
sources = {
conntrack = { "value" }
},

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