diff --git a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php index b43be9e4ff..1354464cf3 100644 --- a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php +++ b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php @@ -546,6 +546,7 @@ class DiscoveryTaskList extends HTML true ); } else if ($task['review_mode'] == DISCOVERY_STANDARD) { + hd($task); if ($task['type'] === DISCOVERY_APP_VMWARE) { if ($task['status'] <= 0 && $task['utimestamp'] != 0) { $data[5] == __('Done'); diff --git a/pandora_server/lib/PandoraFMS/DiscoveryServer.pm b/pandora_server/lib/PandoraFMS/DiscoveryServer.pm index 7e562f06ca..2b57922a80 100644 --- a/pandora_server/lib/PandoraFMS/DiscoveryServer.pm +++ b/pandora_server/lib/PandoraFMS/DiscoveryServer.pm @@ -32,7 +32,7 @@ use MIME::Base64; # Default lib dir for RPM and DEB packages use lib '/usr/lib/perl5'; -use Data::Dumper; + use PandoraFMS::Tools; use PandoraFMS::DB; use PandoraFMS::Core; @@ -387,7 +387,7 @@ sub exec_recon_script ($$$) { } else { $ent_script = 1; } - + if (-x $command) { my $exec_output = `$command $args`; logger($pa_config, "Execution output: \n". $exec_output, 10);