fstypes:depends( "enable", 1 )
-- collectd_df.ignoreselected (IgnoreSelected)
-ignoreselected = s:option( Flag, "IgnoreSelected" )
+ignoreselected = s:option( Flag, "IgnoreSelected", translate("Monitor all except specified") )
ignoreselected.default = 0
ignoreselected:depends( "enable", 1 )
devices:depends( "enable", 1 )
-- collectd_disk.ignoreselected (IgnoreSelected)
-ignoreselected = s:option( Flag, "IgnoreSelected" )
+ignoreselected = s:option( Flag, "IgnoreSelected", translate("Monitor all except specified") )
ignoreselected.default = 0
ignoreselected:depends( "enable", 1 )
enable.default = 0
-- collectd_dns.interfaces (Interface)
-interfaces = s:option( MultiValue, "Interfaces" )
+interfaces = s:option( MultiValue, "Interfaces", translate("Monitor interfaces") )
interfaces.widget = "select"
interfaces.size = 5
interfaces:depends( "enable", 1 )
enable.default = 0
-- collectd_email.socketfile (SocketFile)
-socketfile = s:option( Value, "SocketFile" )
+socketfile = s:option( Value, "SocketFile", translate("Socket file") )
socketfile.default = "/var/run/collect-email.sock"
socketfile:depends( "enable", 1 )
-- collectd_email.socketgroup (SocketGroup)
-socketgroup = s:option( Value, "SocketGroup" )
+socketgroup = s:option( Value, "SocketGroup", translate("Socket group") )
socketgroup.default = "nobody"
socketgroup.rmempty = true
socketgroup.optional = true
socketgroup:depends( "enable", 1 )
-- collectd_email.socketperms (SocketPerms)
-socketperms = s:option( Value, "SocketPerms" )
+socketperms = s:option( Value, "SocketPerms", translate("Socket permissions") )
socketperms.default = "0770"
socketperms.rmempty = true
socketperms.optional = true
exec.anonymous = true
-- collectd_exec_input.cmdline
-exec_cmdline = exec:option( Value, "cmdline" )
+exec_cmdline = exec:option( Value, "cmdline", translate("Command line") )
exec_cmdline.default = "/usr/bin/stat-dhcpusers"
-- collectd_exec_input.cmdline
-exec_cmduser = exec:option( Value, "cmduser" )
+exec_cmduser = exec:option( Value, "cmduser", translate("Run as user") )
exec_cmduser.default = "nobody"
exec_cmduser.rmempty = true
exec_cmduser.optional = true
-- collectd_exec_input.cmdline
-exec_cmdgroup = exec:option( Value, "cmdgroup" )
+exec_cmdgroup = exec:option( Value, "cmdgroup", translate("Run as group") )
exec_cmdgroup.default = "nogroup"
exec_cmdgroup.rmempty = true
exec_cmdgroup.optional = true
notify.anonymous = true
-- collectd_notify_input.cmdline
-notify_cmdline = notify:option( Value, "cmdline" )
+notify_cmdline = notify:option( Value, "cmdline", translate("Command line") )
notify_cmdline.default = "/usr/bin/stat-dhcpusers"
-- collectd_notify_input.cmdline
-notify_cmduser = notify:option( Value, "cmduser" )
+notify_cmduser = notify:option( Value, "cmduser", translate("Run as user") )
notify_cmduser.default = "nobody"
notify_cmduser.rmempty = true
notify_cmduser.optional = true
-- collectd_notify_input.cmdline
-notify_cmdgroup = notify:option( Value, "cmdgroup" )
+notify_cmdgroup = notify:option( Value, "cmdgroup", translate("Run as group") )
notify_cmdgroup.default = "nogroup"
notify_cmdgroup.rmempty = true
notify_cmdgroup.optional = true
enable.default = 0
-- collectd_interface.interfaces (Interface)
-interfaces = s:option( MultiValue, "Interfaces" )
+interfaces = s:option( MultiValue, "Interfaces", translate("Monitor interfaces") )
interfaces.widget = "select"
interfaces.size = 5
interfaces:depends( "enable", 1 )
end
-- collectd_interface.ignoreselected (IgnoreSelected)
-ignoreselected = s:option( Flag, "IgnoreSelected" )
+ignoreselected = s:option( Flag, "IgnoreSelected", translate("Monitor all except specified") )
ignoreselected.default = 0
ignoreselected:depends( "enable", 1 )
irqs:depends( "enable", 1 )
-- collectd_irq.ignoreselected (IgnoreSelected)
-ignoreselected = s:option( Flag, "IgnoreSelected" )
+ignoreselected = s:option( Flag, "IgnoreSelected", translate("Monitor all except specified") )
ignoreselected.default = 0
ignoreselected.optional = "true"
ignoreselected:depends( "enable", 1 )
end
-- collectd_netlink.ignoreselected (IgnoreSelected)
-ignoreselected = s:option( Flag, "IgnoreSelected" )
+ignoreselected = s:option( Flag, "IgnoreSelected", translate("Monitor all except specified") )
ignoreselected.default = 0
ignoreselected:depends( "enable", 1 )