mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 19:08:15 +00:00
Make discovery ignore Dell branded Aruba Wifi Controllers. Dell PowerConnect W-3200 controllers have the strings ArubaOS and PowerConnect in their sysDescr and powerconnect.inc.php will overwrite the Aruba OS detection.
This commit is contained in:
parent
65eb375e01
commit
661ed67372
@ -2,7 +2,7 @@
|
||||
|
||||
if (!$os) {
|
||||
// if (strstr($sysDescr, "Neyland 24T")) { $os = "powerconnect"; } /* Powerconnect 5324 */
|
||||
if (stristr($sysDescr, 'PowerConnect ')) {
|
||||
if (stristr($sysDescr, 'PowerConnect ') && !stristr($sysDescr, 'ArubaOS') {
|
||||
$os = 'powerconnect';
|
||||
}
|
||||
else if (preg_match('/Dell.*Gigabit\ Ethernet/i', $sysDescr)) {
|
||||
|
Loading…
Reference in New Issue
Block a user