mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Fixed not hash JSON output in discovery plugins
This commit is contained in:
parent
01c98ebc77
commit
cd2fce36c1
@ -493,7 +493,7 @@ sub exec_recon_app ($$$) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Process monitoring data.
|
# Process monitoring data.
|
||||||
if (defined($output->{'monitoring_data'})) {
|
if (ref($output) eq 'HASH' && defined($output->{'monitoring_data'})) {
|
||||||
my $recon = new PandoraFMS::Recon::Base(
|
my $recon = new PandoraFMS::Recon::Base(
|
||||||
dbh => $dbh,
|
dbh => $dbh,
|
||||||
group_id => $task->{'id_group'},
|
group_id => $task->{'id_group'},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user