blob: 7ae6b24ba10cb0f11fbd38b57c195ba738eab39e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("CPU Context Switches Plugin Configuration"),
translate("This plugin collects statistics about the processor context switches."))
-- collectd_contextswitch config section
s = m:section( NamedSection, "collectd_contextswitch", "luci_statistics" )
-- collectd_contextswitch.enable
enable = s:option( Flag, "enable", translate("Enable this plugin") )
enable.default = 0
return m
|