2010-12-02 Dario Rodriguez <dario.rodriguez@artica.es>

* lib/PandoraFMS/ReconServer.pm: Fixed a bug with recon server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
darode 2010-12-02 10:01:04 +00:00
parent f86e7b79bf
commit 7adee61349
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2010-12-02 Dario Rodriguez <dario.rodriguez@artica.es>
* lib/PandoraFMS/ReconServer.pm: Fixed a bug with recon server.
2010-12-02 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server.conf: Added wmic file path for FreeBSD.

View File

@ -451,8 +451,8 @@ sub exec_recon_script ($$$) {
# Get recon plugin data
my $script = get_db_single_row ($dbh, 'SELECT * FROM trecon_script WHERE id_recon_script = ?', $task->{'id_recon_script'});
return -1 unless defined ($script);
$name = safe_output($script->{'name'});
logger($pa_config, 'Executing recon script ' . $name, 10);
logger($pa_config, 'Executing recon script ' . safe_output($script->{'name'}), 10);
my $command = safe_output($script->{'script'});
my $field1 = safe_output($task->{'field1'});