2010-10-20 Ramon Novoa <rnovoa@artica.es>

* lib/PandoraFMS/ReconServer.pm: Pass the recon task group_id and
	  create_incident parameters to the recon script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2010-10-20 16:42:06 +00:00
parent 4268600cb3
commit d8dccf664c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-10-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ReconServer.pm: Pass the recon task group_id and
create_incident parameters to the recon script.
2010-10-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ReconServer.pm: Pass the recon task id to the recon

View File

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