mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Netonix, properly set default fanspeed limits (#6144)
Fans can stop if they are unneeded.
This commit is contained in:
committed by
Neil Lathwood
parent
85413f526f
commit
b4c93cf9e6
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user