_('When none selected, all interfaces will be monitored.'));
o.multiple = true;
o.noaliases = true;
+ o.default = 'br-lan';
o.depends('enable', '1');
o = s.option(form.DynamicList, 'IgnoreSources', _('Ignore source addresses'));
o = s.option(form.Flag, 'enable', _('Enable this plugin'));
o = s.option(form.Value, 'SocketFile', _('Socket file'));
- o.default = '/var/run/collect-email.sock';
+ o.default = '/var/run/collectd/email.sock';
o.depends('enable', '1');
o = s.option(widgets.GroupSelect, 'SocketGroup', _('Socket group'));
o = s.option(widgets.DeviceSelect, 'Interfaces', _('Monitor interfaces'));
o.multiple = true;
o.noaliases = true;
+ o.default = 'br-lan';
o.depends('enable', '1');
o = s.option(form.Flag, 'IgnoreSelected', _('Monitor all except specified'));
o.value('ipv6');
o = s.option(form.Value, 'TTL', _('TTL for ping packets'));
- o.default = '128';
+ o.default = '127';
o.datatype = 'range(0, 255)';
o.depends('enable', '1');
o = s.option(form.Value, 'Interval', _('Interval for pings'), _('Seconds'));
- o.default = '1.0';
+ o.default = '30';
o.datatype = 'ufloat';
o.depends('enable', '1');
},
o.depends('RRASingle', '0');
o = s.option(form.DynamicList, 'RRATimespans', _('Stored timespans'));
- o.default = '10min 1day 1week 1month 1year';
+ o.default = '1hour 1day 1week 1month 1year';
o.depends('enable', '1');
o.validate = function(section_id, value) {
if (value == '')
};
o = s.option(form.Value, 'RRARows', _('Rows per RRA'));
- o.placeholder = '1200';
+ o.default = '144';
o.datatype = 'min(1)';
o.depends('enable', '1');
o = s.option(form.Flag, 'ListeningPorts', _('Monitor all local listen ports'));
o.depends('enable', '1');
o.rmempty = false;
- o.default = '1';
+ o.default = '0';
o = s.option(form.DynamicList, 'LocalPorts', _('Monitor local ports'));
o.optional = true;
o.datatype = 'port';
+ o.default = '22 80';
o.depends({ enable: '1', ListeningPorts: '0' });
o = s.option(form.DynamicList, 'RemotePorts', _('Monitor remote ports'));
o = s.option(form.Flag, 'enable', _('Enable this plugin'));
o = s.option(form.Value, 'SocketFile', _('Socket path'));
- o.default = '/var/run/collect-query.socket';
+ o.default = '/var/run/collectd/query.sock';
o.depends('enable', '1');
o = s.option(widgets.GroupSelect, 'SocketGroup', _('Socket group'), _('Change the ownership of the socket file to the specified group.'));