Added missing _id_module_ macro in Plugin server

This commit is contained in:
Jose Gonzalez 2020-06-05 11:09:40 +02:00
parent c8d8b1a312
commit 4e75219371
1 changed files with 1 additions and 0 deletions

View File

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