Added alias in broker agents

This commit is contained in:
Daniel Maya 2017-03-13 17:21:35 +01:00
parent 7605de5794
commit 40562d56f2
1 changed files with 2 additions and 1 deletions

View File

@ -2560,7 +2560,8 @@ while (1) {
%Collections = ();
%Conf = %DefaultConf;
read_config ();
$Conf{'agent_alias'} = $broker_agent;
# Check for a new configuration
check_remote_config () unless ($Conf{'debug'} eq '1');