Merge branch 'ent-5810-no-funciona-macro-_id_module_-plugin-server' into 'develop'

Added missing _id_module_ macro in Plugin server

Closes pandora_enterprise#5810

See merge request artica/pandorafms!3276
This commit is contained in:
Daniel Rodriguez 2020-07-23 13:47:20 +02:00
commit ce6d54e32f
1 changed files with 1 additions and 0 deletions

View File

@ -227,6 +227,7 @@ sub data_consumer ($$) {
_moduledescription_ => (defined ($module)) ? $module->{'descripcion'} : '',
_modulestatus_ => undef,
_moduletags_ => undef,
_id_module_ => (defined ($module)) ? $module->{'id_agente_modulo'} : '',
_id_agent_ => (defined ($module)) ? $module->{'id_agente'} : '',
_id_group_ => (defined ($group)) ? $group->{'id_grupo'} : '',
_interval_ => (defined ($module) && $module->{'module_interval'} != 0) ? $module->{'module_interval'} : (defined ($agent)) ? $agent->{'intervalo'} : '',