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

* lib/PandoraFMS/ReconServer.pm: Pass the recon task id to the recon
	  script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2010-10-20 14:08:13 +00:00
parent 7092c0965f
commit 2fef56e882
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 id to the recon
script.
2010-10-20 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf.windows: Sample conf for running pandora server

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->{'field1'} $task->{'field2'} $task->{'field3'} $task->{'field4'}`;
`$script->{'script'} $task->{'id_rt'} $task->{'field1'} $task->{'field2'} $task->{'field3'} $task->{'field4'}`;
return 0;
}