blob: fbc47731ef97f8704c335618a36bdfe9a5b2494d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.definitions.conntrack",package.seeall)
function rrdargs( graph, plugin, plugin_instance, dtype )
return {
title = "%H: Conntrack entries",
vlabel = "Count",
number_format = "%5.0lf",
data = {
-- collectd 5.5+: specify "" to exclude "max" instance
instances = {
conntrack = { "" }
},
sources = {
conntrack = { "value" }
},
options = {
conntrack = {
color = "0000ff",
title = "Tracked connections"
}
}
}
}
end
|