a6045b720a67232c4987caf2cd2dc522f1425c6c
[project/luci.git] / applications / luci-statistics / luasrc / statistics / rrdtool / definitions / df / df.lua
1 module("luci.statistics.rrdtool.definitions.df.df", package.seeall)
2
3 function rrdargs( graph, plugin, plugin_instance, dtype )
4
5 return {
6 per_instance = true,
7 number_format = "%5.1lf%s",
8
9 data = {
10 sources = {
11 df = { "free", "used" }
12 },
13
14 options = {
15 df__free = {
16 color = "00ff00"
17 },
18
19 df__used = {
20 color = "ff0000",
21 flip = true
22 }
23 }
24 }
25 }
26 end