mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 00:24:46 +02:00
exclude template from vm discovery
This commit is contained in:
parent
9329190dc4
commit
2c788ad23f
@ -143,6 +143,7 @@ sub run {
|
|||||||
next if (!defined($vms));
|
next if (!defined($vms));
|
||||||
|
|
||||||
foreach my $vm (@{$vms}) {
|
foreach my $vm (@{$vms}) {
|
||||||
|
next if ($vm->{'config.template'} eq 'true');
|
||||||
my %vm;
|
my %vm;
|
||||||
|
|
||||||
$vm{type} = "vm";
|
$vm{type} = "vm";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user