1 -- Licensed to the public under the Apache License 2.0.
3 m = Map("luci_statistics",
4 translate("UPS Plugin Configuration"),
5 translate("The NUT plugin reads information about Uninterruptible Power Supplies."))
7 s = m:section(NamedSection, "collectd_nut", "luci_statistics" )
9 enable = s:option(Flag, "enable", translate("Enable this plugin"))
12 host = s:option(Value, "UPS", translate("UPS"), translate("UPS name in NUT ups@host format"))
13 host.placeholder = "myupsname"
14 host.datatype = "string"