mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
apparently the divisor isn't always correct on supermicro...
git-svn-id: http://www.observium.org/svn/observer/trunk@879 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -60,7 +60,8 @@ if ($device['os'] == "linux")
|
||||
$descr = snmp_get($device, $descr_oid, "-Oqv", "SUPERMICRO-HEALTH-MIB");
|
||||
$current = snmp_get($device, $fan_oid, "-Oqv", "SUPERMICRO-HEALTH-MIB");
|
||||
$limit = snmp_get($device, $limit_oid, "-Oqv", "SUPERMICRO-HEALTH-MIB");
|
||||
$precision = snmp_get($device, $precision_oid, "-Oqv", "SUPERMICRO-HEALTH-MIB");
|
||||
# $precision = snmp_get($device, $precision_oid, "-Oqv", "SUPERMICRO-HEALTH-MIB");
|
||||
$precision = 1;
|
||||
$monitor = snmp_get($device, $monitor_oid, "-Oqv", "SUPERMICRO-HEALTH-MIB");
|
||||
$descr = str_replace(' Fan Speed','',$descr);
|
||||
if ($monitor == 'true')
|
||||
|
Reference in New Issue
Block a user