Merge pull request #1404 from laf/issue-1361

Added basic detection for Brocade
This commit is contained in:
Paul Gear
2015-07-11 08:43:47 +10:00
3 changed files with 25 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
<?php
//SNMPv2-MIB::sysDescr.0 Brocade VDX Switch.
if (preg_match("/Brocade ([\s\d\w]+)/", $poll_device['sysDescr'], $hardware)) {
$hardware = $hardware[1];
}