From 54171e56e7c2fbf1cd4204c8873aeea81211ad42 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Wed, 2 Feb 2022 17:32:28 +0100 Subject: [PATCH] Make the timeout error message more user friendly. --- pandora_server/lib/PandoraFMS/PluginServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_server/lib/PandoraFMS/PluginServer.pm b/pandora_server/lib/PandoraFMS/PluginServer.pm index 884af94bb4..ba7a14f95f 100644 --- a/pandora_server/lib/PandoraFMS/PluginServer.pm +++ b/pandora_server/lib/PandoraFMS/PluginServer.pm @@ -308,7 +308,7 @@ sub data_consumer ($$) { } else { # Timeout. if ($ReturnCode == 124 || $ReturnCode == 137) { - logger($pa_config, "Plug-in module with ID #" . $module_id . " timed out.", 3); + logger($pa_config, "Plug-in module " . $module->{'nombre'} . " for agent " . $agent->{'nombre'} . " timed out.", 3); pandora_update_module_on_error ($pa_config, $module, $dbh); return; }