+ Fix echange2010 checks
This commit is contained in:
parent
859b630c0e
commit
95dcc5bfaa
|
@ -224,8 +224,8 @@ sub check {
|
|||
# Check mounted
|
||||
if ($mounted =~ /False/i) {
|
||||
$self->{output}->output_add(long_msg => sprintf(" not mounted\n Skip mapi/mailflow test"));
|
||||
$self->{output}->output_add(short_msg => 'CRITICAL',
|
||||
long_msg => sprintf("Database '%s' server '%s' is not mounted", $database, $server));
|
||||
$self->{output}->output_add(severity => 'CRITICAL',
|
||||
short_msg => sprintf("Database '%s' server '%s' is not mounted", $database, $server));
|
||||
next;
|
||||
}
|
||||
$self->{output}->output_add(long_msg => sprintf(" mounted"));
|
||||
|
|
|
@ -48,9 +48,6 @@ $culture = new-object "System.Globalization.CultureInfo" "en-us"
|
|||
Write-Host $Error[0].Exception
|
||||
exit 1
|
||||
}
|
||||
} else {
|
||||
Write-Host "Snap-In no present or not registered"
|
||||
exit 1
|
||||
}
|
||||
} else {
|
||||
Write-Host "Snap-In no present or not registered"
|
||||
|
|
Loading…
Reference in New Issue