+ fix bug test skipping
Ref https://github.com/centreon/centreon-plugins/issues/902
This commit is contained in:
parent
cd37dac30d
commit
8592a2bc07
|
@ -134,7 +134,7 @@ sub dcdiag {
|
|||
my ($self, %options) = @_;
|
||||
|
||||
my $dcdiag_cmd = 'dcdiag /test:services /test:replications /test:advertising /test:fsmocheck /test:ridmanager';
|
||||
$dcdiag_cmd .= ' /test:machineaccount' if (!defined($self->{option_results}->{machineaccount}));
|
||||
$dcdiag_cmd .= ' /test:machineaccount' if (!defined($self->{option_results}->{nomachineaccount}));
|
||||
$dcdiag_cmd .= ' /test:frssysvol' if ($self->{os_is2003} == 1);
|
||||
$dcdiag_cmd .= ' /test:sysvolcheck' if ($self->{os_is2008} == 1 || $self->{os_is2012} == 1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue