#9624 changed default binary path daemon for sflow
This commit is contained in:
parent
87421e772d
commit
a60f9be920
|
@ -2899,7 +2899,7 @@ function config_process_config()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($config['sflow_daemon'])) {
|
if (!isset($config['sflow_daemon'])) {
|
||||||
config_update_value('sflow_daemon', '/usr/bin/nfcapd');
|
config_update_value('sflow_daemon', '/usr/bin/sfcapd');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($config['sflow_nfdump'])) {
|
if (!isset($config['sflow_nfdump'])) {
|
||||||
|
|
|
@ -89,7 +89,7 @@ INSERT INTO `tconfig` (`token`, `value`) VALUES
|
||||||
('netflow_nfdump', '/usr/bin/nfdump'),
|
('netflow_nfdump', '/usr/bin/nfdump'),
|
||||||
('netflow_max_resolution', '50'),
|
('netflow_max_resolution', '50'),
|
||||||
('sflow_interval', '3600'),
|
('sflow_interval', '3600'),
|
||||||
('sflow_daemon', '/usr/bin/nfcapd'),
|
('sflow_daemon', '/usr/bin/sfcapd'),
|
||||||
('sflow_nfdump', '/usr/bin/nfdump'),
|
('sflow_nfdump', '/usr/bin/nfdump'),
|
||||||
('sflow_max_resolution', '50'),
|
('sflow_max_resolution', '50'),
|
||||||
('event_fields', 'mini_severity,evento,estado,agent_name,timestamp'),
|
('event_fields', 'mini_severity,evento,estado,agent_name,timestamp'),
|
||||||
|
|
Loading…
Reference in New Issue