Netonix, properly set default fanspeed limits (#6144)

Fans can stop if they are unneeded.
This commit is contained in:
Tony Murray
2017-03-09 02:07:18 -06:00
committed by Neil Lathwood
parent 85413f526f
commit b4c93cf9e6

View File

@@ -32,7 +32,7 @@ if (is_array($oids)) {
$descr = "Fan ".$index;
$oid = '.1.3.6.1.4.1.46242.2.1.2.'.$index;
$current = $entry['fanSpeed'];
discover_sensor($valid['sensor'], 'fanspeed', $device, $oid, $index, $device['os'], $descr, '1', '1', '0', '0', null, null, $current);
discover_sensor($valid['sensor'], 'fanspeed', $device, $oid, $index, $device['os'], $descr, '1', '1', 0, 0, 8000, 9000, $current);
}
}
}