From 70e5f177dcf8c21b1ee4a93ae5ddbbc4329cfd4b Mon Sep 17 00:00:00 2001 From: ramonn Date: Tue, 11 May 2010 18:26:58 +0000 Subject: [PATCH] 2010-05-11 Ramon Novoa * lib/PandoraFMS/Core.pm: Fixed a log message in pandora_process_module. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2701 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 10 ++++++++++ pandora_server/lib/PandoraFMS/Core.pm | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 79a8126a42..ae5667e84d 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2010-05-11 Ramon Novoa + + * lib/PandoraFMS/Core.pm: Fixed a log message in + pandora_process_module. + 2010-05-11 Sergio Martin * pandora_server_installer @@ -6,6 +11,11 @@ tentacle and pandora server and modified the server installer script to install them +2010-05-11 Ramon Novoa + + * lib/PandoraFMS/Core.pm: Fixed a log message in + pandora_process_module. + 2010-05-11 Ramon Novoa * lib/PandoraFMS/PluginServer.pm, lib/PandoraFMS/Core.pm, diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index 1693aa1b1c..d7f4599588 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -697,7 +697,7 @@ sub pandora_process_module ($$$$$$$$$;$) { # Process data my $processed_data = process_data ($dataObject, $module, $module_type, $utimestamp, $dbh); if (! defined ($processed_data)) { - logger($pa_config, "Received invalid data '" . $dataObject . "' from agent '" . $agent->{'nombre'} . "' module '" . $module->{'nombre'} . "' agent " . (defined ($agent) ? "'" . $agent->{'nombre'} . "'" : 'ID ' . $module->{'id_agente'}) . ".", 3); + logger($pa_config, "Received invalid data '" . $dataObject->{'data'} . "' from agent '" . $agent->{'nombre'} . "' module '" . $module->{'nombre'} . "' agent " . (defined ($agent) ? "'" . $agent->{'nombre'} . "'" : 'ID ' . $module->{'id_agente'}) . ".", 3); pandora_update_module_on_error ($pa_config, $module, $dbh); return; }