diff --git a/connectors/vmware/src/centreon/vmware/cmddiscovery.pm b/connectors/vmware/src/centreon/vmware/cmddiscovery.pm index 24877eda8..91d71880d 100644 --- a/connectors/vmware/src/centreon/vmware/cmddiscovery.pm +++ b/connectors/vmware/src/centreon/vmware/cmddiscovery.pm @@ -153,7 +153,7 @@ sub run { foreach my $vm (@{$vms}) { next if ($vm->{'config.template'} eq 'true'); - next if (!defined($vm->{uuid}) || $vm->{uuid} eq ''); + next if (!defined($vm->{'config.uuid'}) || $vm->{'config.uuid'} eq ''); my $entry; $entry->{type} = 'vm';