mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-02-24 20:58:44 +01:00
Exclude 0C (32.00 F) from valid PD temperatures
This commit is contained in:
@@ -615,7 +615,7 @@ sub getPDStatus{
|
||||
}
|
||||
if(exists($PD->{'Drive Temperature'})){
|
||||
my $temp = $PD->{'Drive Temperature'};
|
||||
if($temp ne 'N/A'){
|
||||
if($temp ne 'N/A' && $temp ne '0C (32.00 F)'){
|
||||
$temp =~ /^([0-9]+)C/;
|
||||
if(!(checkThreshs($1, $PD_TEMP_CRITICAL))){
|
||||
$status = 'Critical';
|
||||
|
||||
Reference in New Issue
Block a user