summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/df/df.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-11-28 03:26:59 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-11-28 03:26:59 +0000
commit5d4191c848e568570ebd3b63358379c9861b2b02 (patch)
treeb8be78b47c9e49d2c3b2d5da2deef0a938833059 /applications/luci-statistics/luasrc/statistics/rrdtool/definitions/df/df.lua
parentef9df734c35e0d478dd7c9c03d301085fdfd3993 (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/df/df.lua')
-rw-r--r--applications/luci-statistics/luasrc/statistics/rrdtool/definitions/df/df.lua41
1 files changed, 0 insertions, 41 deletions
diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/df/df.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/df/df.lua
deleted file mode 100644
index 1d29800b3b..0000000000
--- a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/df/df.lua
+++ /dev/null
@@ -1,41 +0,0 @@
---[[
-
-Luci statistics - df 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.df.df", package.seeall)
-
-function rrdargs( graph, plugin, plugin_instance, dtype )
-
- return {
- per_instance = true,
- number_format = "%5.1lf%s",
-
- data = {
- sources = {
- df = { "free", "used" }
- },
-
- options = {
- df__free = {
- color = "00ff00"
- },
-
- df__used = {
- color = "ff0000",
- flip = true
- }
- }
- }
- }
-end