Merge pull request #444 from hnyman/fixconntrack
statistics: fix conntrack and ping regression caused by collectd changes
This commit is contained in:
commit
8597b86ebf
2 changed files with 5 additions and 1 deletions
|
@ -9,6 +9,10 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
|
||||||
vlabel = "Count",
|
vlabel = "Count",
|
||||||
number_format = "%5.0lf",
|
number_format = "%5.0lf",
|
||||||
data = {
|
data = {
|
||||||
|
-- collectd 5.5+: specify "" to exclude "max" instance
|
||||||
|
instances = {
|
||||||
|
conntrack = { "" }
|
||||||
|
},
|
||||||
sources = {
|
sources = {
|
||||||
conntrack = { "value" }
|
conntrack = { "value" }
|
||||||
},
|
},
|
||||||
|
|
|
@ -9,7 +9,7 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
|
||||||
{ title = "%H: ICMP Round Trip Time", vlabel = "ms",
|
{ title = "%H: ICMP Round Trip Time", vlabel = "ms",
|
||||||
number_format = "%5.1lf ms", data = {
|
number_format = "%5.1lf ms", data = {
|
||||||
sources = { ping = { "value" } },
|
sources = { ping = { "value" } },
|
||||||
options = { ping__ping = { noarea = true, title = "%di" } }
|
options = { ping__value = { noarea = true, title = "%di" } }
|
||||||
} },
|
} },
|
||||||
|
|
||||||
-- Ping droprate
|
-- Ping droprate
|
||||||
|
|
Loading…
Reference in a new issue