diff --git a/pandora_agents/unix/pandora_agent b/pandora_agents/unix/pandora_agent index 0fe804ad7e..2bd69d0d7e 100644 --- a/pandora_agents/unix/pandora_agent +++ b/pandora_agents/unix/pandora_agent @@ -510,6 +510,9 @@ sub parse_conf_modules($) { # Make the module run the first time $module->{'counter'} = $module->{'intensive_interval'}; + # Replace macros + replace_macros ($module); + push (@Modules, {%{$module}}); } else { $module->{'func'} = \&module_plugin; @@ -601,7 +604,7 @@ sub write_broker_conf($){ my ($broker_agent) = @_; my $content = ''; - # I don't think the following should be copied either: proxy_*, secondary_* + # I don't think the following should be copied either: proxy_* my %ignored_tokens = ( 'broker_agent' => 1, 'agent_name_cmd' => 1, 'udp_server' => 1, 'cron_mode' => 1 );