2010-05-11 Ramon Novoa <rnovoa@artica.es>

* 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
This commit is contained in:
ramonn 2010-05-11 18:26:58 +00:00
parent 12d375c974
commit 70e5f177dc
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-05-11 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed a log message in
pandora_process_module.
2010-05-11 Sergio Martin <sergio.martin@artica.es>
* 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 <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed a log message in
pandora_process_module.
2010-05-11 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PluginServer.pm, lib/PandoraFMS/Core.pm,

View File

@ -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;
}