diff options
author | Patrick Grimm <patrick@lunatiki.de> | 2012-02-19 15:11:23 +0000 |
---|---|---|
committer | Patrick Grimm <patrick@lunatiki.de> | 2012-02-19 15:11:23 +0000 |
commit | ad7aecad88399b917b6a96952f3645c475e73c59 (patch) | |
tree | d582023a76a305ef0150eaa670c92d9ca6fb012b /applications/luci-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua | |
parent | 2ff0ec12ac2acc140680f457f0699b88676d8cfb (diff) |
applications/luci-statistics: make host selectable if collectd-mod-network server is on
Diffstat (limited to 'applications/luci-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua')
-rw-r--r-- | applications/luci-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua index 3ee39102e..3ca2f03ec 100644 --- a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua +++ b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua @@ -13,8 +13,6 @@ You may obtain a copy of the License at module("luci.statistics.rrdtool.definitions.olsrd", package.seeall) -local tree = luci.statistics.datatree.Instance() - function rrdargs( graph, plugin, plugin_instance, dtype ) local g = { } @@ -77,7 +75,7 @@ function rrdargs( graph, plugin, plugin_instance, dtype ) } } - local instances = tree:data_instances(plugin, plugin_instance, "signal_quality") + local instances = graph.tree:data_instances(plugin, plugin_instance, "signal_quality") table.sort(instances) -- define one diagram per host, containing the rx and lq values |