From 115e4103ff5430219093f545b204a87de5ba3b17 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Wed, 17 Feb 2010 10:08:31 +0000 Subject: [PATCH] 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 --- includes/discovery/fanspeeds.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/discovery/fanspeeds.php b/includes/discovery/fanspeeds.php index e8067fee6..2e22cd830 100644 --- a/includes/discovery/fanspeeds.php +++ b/includes/discovery/fanspeeds.php @@ -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')