Merge branch '1046-Macros_en_modulos_de_plugin' into 'develop'

fixed error in plugin server agent for alias

See merge request !620
This commit is contained in:
vgilc 2017-06-26 16:21:26 +02:00
commit 652f89ec66
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ sub data_consumer ($$) {
}
# Agent and module macros
my %macros = (_agent_ => (defined ($agent)) ? $agent->{'nombre'} : '',
my %macros = (_agent_ => (defined ($agent)) ? $agent->{'alias'} : '',
_agentdescription_ => (defined ($agent)) ? $agent->{'comentarios'} : '',
_agentstatus_ => undef,
_agentgroup_ => (defined ($group)) ? $group->{'nombre'} : '',