diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 565a5da38a..ecd757189e 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2010-10-20 Ramon Novoa + + * lib/PandoraFMS/ReconServer.pm: Pass the recon task group_id and + create_incident parameters to the recon script. + 2010-10-20 Ramon Novoa * lib/PandoraFMS/ReconServer.pm: Pass the recon task id to the recon diff --git a/pandora_server/lib/PandoraFMS/ReconServer.pm b/pandora_server/lib/PandoraFMS/ReconServer.pm index 4577d40856..e383fa8d22 100644 --- a/pandora_server/lib/PandoraFMS/ReconServer.pm +++ b/pandora_server/lib/PandoraFMS/ReconServer.pm @@ -453,7 +453,7 @@ sub exec_recon_script ($$$) { return -1 unless defined ($script); logger($pa_config, 'Executing recon script ' . $script->{'name'}, 10); - `$script->{'script'} $task->{'id_rt'} $task->{'field1'} $task->{'field2'} $task->{'field3'} $task->{'field4'}`; + `$script->{'script'} $task->{'id_rt'} $task->{'id_group'} $task->{'create_incident'} $task->{'field1'} $task->{'field2'} $task->{'field3'} $task->{'field4'}`; return 0; }