mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-10-30 03:21:33 +01:00
A DHS as a valid state for PDs
This commit is contained in:
1 parent
487dba40f0
commit
06935007e2
1 file changed
+1
-1
+1
-1
@@ -574,7 +574,7 @@ sub getPDStatus{
|
||||
my $status;
|
||||
foreach my $PD (@foundPDs){
|
||||
if(exists($PD->{'State'})){
|
||||
if($PD->{'State'} ne 'Onln' && $PD->{'State'} ne 'UGood' && $PD->{'State'} ne 'GHS'){
|
||||
if($PD->{'State'} ne 'Onln' && $PD->{'State'} ne 'UGood' && $PD->{'State'} ne 'GHS' && $PD->{'State'} ne 'DHS'){
|
||||
$status = 'Critical';
|
||||
push @{$statusLevel_a[2]}, $PD->{'pd'}.'_State';
|
||||
$statusLevel_a[3]->{$PD->{'pd'}.'_State'} = $PD->{'State'};
|
||||
|
||||
Reference in new issue
Block a user