mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user