mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 16:45:04 +02:00
Fix status vm
This commit is contained in:
parent
b2318c2310
commit
a10693df4d
@ -69,10 +69,10 @@ sub run {
|
||||
if (defined($self->{filter_description}) && $self->{filter_description} ne '') {
|
||||
$filters{'config.annotation'} = qr/$self->{filter_description}/;
|
||||
}
|
||||
my @properties = ('name', 'summary.overallStatus', 'runtime.connectionState');
|
||||
if (defined($self->{display_description})) {
|
||||
push @properties, 'config.annotation';
|
||||
}
|
||||
my @properties = ('name', 'summary.overallStatus', 'runtime.connectionState');
|
||||
my $result = centreon::esxd::common::search_entities(command => $self, view_type => 'VirtualMachine', properties => \@properties, filter => \%filters);
|
||||
return if (!defined($result));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user