mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2025-07-14 03:41:50 +02:00
If other error count ignoring is set to -1 via '-Io', other error count is ignored
This commit is contained in:
@ -616,7 +616,7 @@ sub getPDStatus{
|
||||
}
|
||||
}
|
||||
if(exists($PD->{'Other Error Count'})){
|
||||
if($PD->{'Other Error Count'} > $IGNERR_O){
|
||||
if(($IGNERR_O != -1) && ($PD->{'Other Error Count'} > $IGNERR_O)){
|
||||
$status = 'Warning' unless $status eq 'Critical';
|
||||
push @{$statusLevel_a[1]}, $PD->{'pd'}.'_Other_error_count';
|
||||
$statusLevel_a[3]->{$PD->{'pd'}.'_Other_error_count'} = $PD->{'Other Error Count'};
|
||||
|
Reference in New Issue
Block a user