From 4e75219371b405175312a5d5c6052a9b02ba0a22 Mon Sep 17 00:00:00 2001 From: Jose Gonzalez Date: Fri, 5 Jun 2020 11:09:40 +0200 Subject: [PATCH] Added missing _id_module_ macro in Plugin server --- pandora_server/lib/PandoraFMS/PluginServer.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora_server/lib/PandoraFMS/PluginServer.pm b/pandora_server/lib/PandoraFMS/PluginServer.pm index 666ac88c58..4fec47bb14 100644 --- a/pandora_server/lib/PandoraFMS/PluginServer.pm +++ b/pandora_server/lib/PandoraFMS/PluginServer.pm @@ -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'} : '',