#13113 fixed server thread pandora_agent_autoconfiguration_scheduled
This commit is contained in:
parent
53bead2acc
commit
0003c70ea7
|
@ -161,12 +161,15 @@ sub pandora_startup () {
|
||||||
|
|
||||||
# Start the task execution thread.
|
# Start the task execution thread.
|
||||||
start_server_thread(\&pandora_server_tasks, [\%Config]);
|
start_server_thread(\&pandora_server_tasks, [\%Config]);
|
||||||
|
|
||||||
# Start the policy queue thread.
|
# Start the policy queue thread.
|
||||||
start_server_thread(\&pandora_process_policy_queue, [\%Config]) if ($Config{'__enterprise_enabled'} == 1 && $Config{'policy_manager'} == 1);
|
start_server_thread(\&pandora_process_policy_queue, [\%Config]) if ($Config{'__enterprise_enabled'} == 1 && $Config{'policy_manager'} == 1);
|
||||||
|
|
||||||
# Start agent autoconfiguration thread.
|
# Start agent autoconfiguration only in master..
|
||||||
start_server_thread(\&pandora_agent_autoconfiguration_scheduled, [\%Config]) if ($Config{'__enterprise_enabled'} == 1 && $Config{'autoconfigure_agents'} == 1);
|
if (pandora_is_master(\%Config) == 1) {
|
||||||
|
# Start agent autoconfiguration thread.
|
||||||
|
start_server_thread(\&pandora_agent_autoconfiguration_scheduled, [\%Config]) if ($Config{'__enterprise_enabled'} == 1 && $Config{'autoconfigure_agents'} == 1);
|
||||||
|
}
|
||||||
|
|
||||||
# Start the netflow daemon if necessary
|
# Start the netflow daemon if necessary
|
||||||
pandora_start_netflow_daemon ();
|
pandora_start_netflow_daemon ();
|
||||||
|
|
Loading…
Reference in New Issue