mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-10-29 02:51:32 +01:00
If other error count ignoring is set to -1 via '-Io', other error count is ignored
This commit is contained in:
1 parent
c4d269b429
commit
4b768805a8
1 file changed
+1
-1
+1
-1
@@ -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