mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Remove some detection logic from Brocade NOS foo
Remove one overly-broad and one overly-narrow detection check for nos devices.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
if (!$os) {
|
||||
if (strstr($sysDescr, "Brocade VDX") || strstr($sysObjectId, '.1.3.6.1.4.1.1588.2.2.1.1.1.5') || stristr($sysDescr, 'Brocade Communications Systems')) {
|
||||
if (strstr($sysDescr, "Brocade VDX")) {
|
||||
$os = "nos";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user