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:
parent
342a9f8997
commit
492e93da57
|
@ -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>
|
2012-04-26 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* lib/PandoraFMS/Core.pm: Added call to delete the agent
|
* lib/PandoraFMS/Core.pm: Added call to delete the agent
|
||||||
|
|
|
@ -881,7 +881,7 @@ sub pandora_process_module ($$$$$$$$$;$) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Process data
|
# 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)) {
|
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);
|
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);
|
pandora_update_module_on_error ($pa_config, $module, $dbh);
|
||||||
|
|
Loading…
Reference in New Issue