Added alias in broker agents

This commit is contained in:
Daniel Maya 2017-03-13 17:21:35 +01:00
parent 7605de5794
commit 40562d56f2

View File

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