summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/statistics/rrdtool/definitions
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-06-01 03:12:48 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-06-01 03:12:48 +0000
commit1da5feb9f720fd48a886aad09df91bd8cc9df4c8 (patch)
tree37f7409317502086de0b5fc3fdca7fbbb03d165a /applications/luci-statistics/luasrc/statistics/rrdtool/definitions
parent9688e102c4c1bc9c9c816797826d86189c94a430 (diff)
* luci/statistics: let rrdtool.lua use values from the configuration, added irq diagram model
Diffstat (limited to 'applications/luci-statistics/luasrc/statistics/rrdtool/definitions')
-rw-r--r--applications/luci-statistics/luasrc/statistics/rrdtool/definitions/irq/irq.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/irq/irq.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/irq/irq.lua
new file mode 100644
index 0000000000..a68227bf59
--- /dev/null
+++ b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/irq/irq.lua
@@ -0,0 +1,10 @@
+module("luci.statistics.rrdtool.definitions.irq.irq", package.seeall)
+
+function rrdargs( graph, plugin, plugin_instance, dtype )
+
+ return {
+ data = {
+ types = { "irq" }
+ }
+ }
+end