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:
parent
4268600cb3
commit
d8dccf664c
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue