3 Luci configuration model for statistics - collectd interface plugin configuration
4 (c) 2011 Jo-Philipp Wich <xm@subsignal.org>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
18 m = Map("luci_statistics",
19 translate("Wireless iwinfo Plugin Configuration"),
20 translate("The iwinfo plugin collects statistics about wireless signal strength, noise and quality."))
22 s = m:section(NamedSection, "collectd_iwinfo", "luci_statistics")
24 o = s:option(Flag, "enable", translate("Enable this plugin"))
27 o = s:option(Value, "Interfaces", translate("Monitor interfaces"),
28 translate("Leave unselected to automatically determine interfaces to monitor."))
29 o.template = "cbi/network_ifacelist"
32 o:depends("enable", 1)
34 o = s:option(Flag, "IgnoreSelected", translate("Monitor all except specified"))
36 o:depends("enable", 1)