+ Fix echange2010 checks

This commit is contained in:
garnier-quentin 2015-08-20 12:23:38 +02:00
parent 859b630c0e
commit 95dcc5bfaa
2 changed files with 2 additions and 5 deletions

View File

@ -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"));

View File

@ -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"