Merge pull request #2065 from fstern/dell_arubaos

Treat Dell branded Wifi controllers as ArubaOS
This commit is contained in:
Neil Lathwood
2015-10-07 21:04:21 +01:00
2 changed files with 2 additions and 1 deletions

View File

@ -60,5 +60,6 @@ Contributors to LibreNMS:
- Frederik Mogensen <frederik@server-1.dk> (mogensen)
- Matthew Scully <matt@mattz0r.me.uk> (mattz0r)
- Xavier Beaudouin <kiwi@oav.net> (xbeaudouin)
- Falk Stern <falk@fourecks.de> (fstern)
[1]: http://observium.org/ "Observium web site"

View File

@ -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)) {