diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-11-28 03:26:59 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-11-28 03:26:59 +0000 |
commit | 5d4191c848e568570ebd3b63358379c9861b2b02 (patch) | |
tree | b8be78b47c9e49d2c3b2d5da2deef0a938833059 /applications/luci-statistics/luasrc/statistics/rrdtool/definitions/tcpconns | |
parent | ef9df734c35e0d478dd7c9c03d301085fdfd3993 (diff) |
applications/luci-statistics: move all models to the per-plugin level, provide titles and labels, provide model for disk plugin
Diffstat (limited to 'applications/luci-statistics/luasrc/statistics/rrdtool/definitions/tcpconns')
-rw-r--r-- | applications/luci-statistics/luasrc/statistics/rrdtool/definitions/tcpconns/tcp_connections.lua | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/tcpconns/tcp_connections.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/tcpconns/tcp_connections.lua deleted file mode 100644 index 9f62541b35..0000000000 --- a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/tcpconns/tcp_connections.lua +++ /dev/null @@ -1,31 +0,0 @@ ---[[ - -Luci statistics - tcpconns plugin diagram definition -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- - -module("luci.statistics.rrdtool.definitions.tcpconns.tcp_connections", package.seeall) - -function rrdargs( graph, plugin, plugin_instance, dtype ) - - return { - data = { - instances = { - tcp_connections = { - "SYN_SENT", "SYN_RECV", "LISTEN", "ESTABLISHED", - "LAST_ACK", "TIME_WAIT", "CLOSING", "CLOSE_WAIT", - "CLOSED", "FIN_WAIT1", "FIN_WAIT2" - } - } - } - } -end |