summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/src/statistics/rrdtool/definitions/tcpconns
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-statistics/src/statistics/rrdtool/definitions/tcpconns')
-rw-r--r--applications/luci-statistics/src/statistics/rrdtool/definitions/tcpconns/tcp_connections.lua27
1 files changed, 0 insertions, 27 deletions
diff --git a/applications/luci-statistics/src/statistics/rrdtool/definitions/tcpconns/tcp_connections.lua b/applications/luci-statistics/src/statistics/rrdtool/definitions/tcpconns/tcp_connections.lua
deleted file mode 100644
index 0493574948..0000000000
--- a/applications/luci-statistics/src/statistics/rrdtool/definitions/tcpconns/tcp_connections.lua
+++ /dev/null
@@ -1,27 +0,0 @@
-module("luci.statistics.rrdtool.definitions.tcpconns.tcp_connections", package.seeall)
-
-function rrdargs( graph, host, plugin, plugin_instance, dtype )
-
- dtype_instances = {
- "SYN_SENT", "SYN_RECV", "LISTEN", "ESTABLISHED", "LAST_ACK", "TIME_WAIT",
- "CLOSING", "CLOSE_WAIT", "CLOSED", "FIN_WAIT1", "FIN_WAIT2"
- }
-
- opts = { }
- opts.sources = { }
- opts.image = graph:mkpngpath( host, plugin, plugin_instance, dtype )
- opts.title = host .. ": TCP-Verbindungen - Port " .. plugin_instance
- opts.rrd = { "-v", "Anzahl" }
- opts.colors = {
-
- }
-
- for i, inst in ipairs(dtype_instances) do
- opts.sources[i] = {
- name = inst,
- rrd = graph:mkrrdpath( host, plugin, plugin_instance, dtype, inst )
- }
- end
-
- return opts
-end