mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-03-13 12:22:49 +01:00
Allow GHS as valid state for PD
This commit is contained in:
@@ -573,7 +573,7 @@ sub getPDStatus{
|
||||
my $status;
|
||||
foreach my $PD (@foundPDs){
|
||||
if(exists($PD->{'State'})){
|
||||
if($PD->{'State'} ne 'Onln' && $PD->{'State'} ne 'UGood'){
|
||||
if($PD->{'State'} ne 'Onln' && $PD->{'State'} ne 'UGood' && $PD->{'State'} ne 'GHS'){
|
||||
$status = 'Critical';
|
||||
push @{$statusLevel_a[2]}, $PD->{'pd'}.'_State';
|
||||
$statusLevel_a[3]->{$PD->{'pd'}.'_State'} = $PD->{'State'};
|
||||
|
||||
Reference in New Issue
Block a user