mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix Brocade VDX fanspeed discovery
Discover Brocade fan speed sensors as correct type (fanspeed) instead of temperature
This commit is contained in:
@ -25,7 +25,7 @@ if ($device['os'] == "nos") {
|
||||
if (!strstr($descr, 'No') and !strstr($value, 'No')) {
|
||||
$descr = str_replace('"', '', $descr);
|
||||
$descr = trim($descr);
|
||||
discover_sensor($valid['sensor'], 'temperature', $device, $value_oid, $data[35], 'nos', $descr, '1', '1', null, null, '80', '100', $value);
|
||||
discover_sensor($valid['sensor'], 'fanspeed', $device, $value_oid, $data[35], 'nos', $descr, '1', '1', null, null, '80', '100', $value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user