blob: 5212b736e2f2d929b7ff365f72ff604e056ac1a1 (
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
28
|
-- 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
|