3 Luci configuration model for statistics - collectd processes plugin configuration
4 (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
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
16 m = Map("luci_statistics",
17 translate("Processes Plugin Configuration"),
19 "The processes plugin collects informations like cpu time, " ..
20 "page faults and memory usage of selected processes."
23 -- collectd_processes config section
24 s = m:section( NamedSection, "collectd_processes", "luci_statistics" )
26 -- collectd_processes.enable
27 enable = s:option( Flag, "enable", translate("Enable this plugin") )
30 -- collectd_processes.processes (Process)
31 processes = s:option( Value, "Processes", translate("Monitor processes"),
32 translate("Processes to monitor seperated by space") )
33 processes:depends( "enable", 1 )
34 processes.default = "uhttpd dropbear dnsmasq"