Exclude 0C (32.00 F) from valid PD temperatures

This commit is contained in:
Georg Schönberger
2014-10-20 11:36:13 +02:00
parent 861318e563
commit db812a7758

View File

@@ -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';