mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-31 01:24:35 +02:00
+ manage esx 3.x for traffic
This commit is contained in:
parent
390eeb6aee
commit
38b90379fc
@ -93,7 +93,10 @@ sub run {
|
|||||||
} else {
|
} else {
|
||||||
$filters{name} = qr/$self->{esx_hostname}/;
|
$filters{name} = qr/$self->{esx_hostname}/;
|
||||||
}
|
}
|
||||||
my @properties = ('name', 'config.network.pnic', 'runtime.connectionState', 'config.network.vswitch', 'config.network.proxySwitch');
|
my @properties = ('name', 'config.network.pnic', 'runtime.connectionState', 'config.network.vswitch');
|
||||||
|
if (!defined($self->{no_proxyswitch})) {
|
||||||
|
push @properties, 'config.network.proxySwitch';
|
||||||
|
}
|
||||||
my $result = centreon::esxd::common::search_entities(command => $self, view_type => 'HostSystem', properties => \@properties, filter => \%filters);
|
my $result = centreon::esxd::common::search_entities(command => $self, view_type => 'HostSystem', properties => \@properties, filter => \%filters);
|
||||||
return if (!defined($result));
|
return if (!defined($result));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user