From a438d3f683e35df027ef75d4557f6837ca8060ef Mon Sep 17 00:00:00 2001 From: jsatoh Date: Sat, 28 Apr 2012 01:43:04 +0000 Subject: [PATCH] 2012-04-28 Junichi Satoh * lib/PandoraFMS/Core.pm: Added a missing argument to process_data() call. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 5 +++++ pandora_server/lib/PandoraFMS/Core.pm | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 3e1e3489c4..0bd1a3555e 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2012-04-28 Junichi Satoh + + * lib/PandoraFMS/Core.pm: Added a missing argument to process_data() + call. + 2012-04-26 Sergio Martin * lib/PandoraFMS/Core.pm: Added call to delete the agent diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index 903f0e0383..3237f1d6b1 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -881,7 +881,7 @@ sub pandora_process_module ($$$$$$$$$;$) { } # Process data - my $processed_data = process_data ($data_object, $module, $module_type, $utimestamp, $dbh); + my $processed_data = process_data ($pa_config, $data_object, $module, $module_type, $utimestamp, $dbh); if (! defined ($processed_data)) { logger($pa_config, "Received invalid data '" . $data_object->{'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);