fix supermicro temperature discovery bug affected by recent schema change

git-svn-id: http://www.observium.org/svn/observer/trunk@1121 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-06-09 19:15:32 +00:00
parent 34209dd893
commit 650711aa52
+1 -1
View File
@@ -207,7 +207,7 @@ if ($device['os'] == "linux")
if ($monitor == 'true')
{
$descr = trim(str_ireplace("temperature", "", $descr));
discover_temperature($valid_temp, $device, $temp_oid, $oid, "supermicro", $descr, $divisor, $limit, NULL, $temp);
discover_temperature($valid_temp, $device, $temp_oid, trim($oid,'.'), "supermicro", $descr, $divisor, $limit, NULL, $temp);
}
}
}