luci-app-statistics: add missing ACL rules
[project/luci.git] / applications / luci-app-statistics / luasrc / statistics / rrdtool / definitions / conntrack.lua
1 -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
2 -- Licensed to the public under the Apache License 2.0.
3
4 module("luci.statistics.rrdtool.definitions.conntrack",package.seeall)
5
6 function item()
7 return luci.i18n.translate("Conntrack")
8 end
9
10 function rrdargs( graph, plugin, plugin_instance, dtype )
11
12 return {
13 title = "%H: Conntrack entries",
14 vlabel = "Count",
15 number_format = "%5.0lf",
16 data = {
17 -- collectd 5.5+: specify "" to exclude "max" instance
18 instances = {
19 conntrack = { "" }
20 },
21 sources = {
22 conntrack = { "value" }
23 },
24 options = {
25 conntrack = {
26 color = "0000ff",
27 title = "Tracked connections"
28 }
29 }
30 }
31 }
32 end