2012-04-28 Junichi Satoh <junichi@rworks.jp>

* 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
This commit is contained in:
jsatoh 2012-04-28 01:43:04 +00:00
parent 3df62a96f8
commit a438d3f683
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-04-28 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Added a missing argument to process_data()
call.
2012-04-26 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Added call to delete the agent

View File

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