Add IBM BladeCenter Switch Support

#3620
This commit is contained in:
Søren Rosiak
2016-06-08 20:26:28 +02:00
parent de7715acab
commit 9a8b133d8f
2 changed files with 4 additions and 1 deletions

View File

@@ -11,7 +11,7 @@
*/
if (!$os) {
if (stristr($sysDescr, 'IBM Networking Operating System') || stristr($sysDescr, 'IBM Flex System Fabric')) {
if (stristr($sysDescr, 'IBM Networking Operating System') || stristr($sysDescr, 'IBM Flex System Fabric') || stristr($sysDescr, 'IBM Networking OS')) {
$os = 'ibmnos';
}
}

View File

@@ -45,3 +45,6 @@ else if (strpos($sysdescr_value, 'IBM Flex System Fabric') !== false) {
$version = trim(snmp_get($device, '.1.3.6.1.2.1.47.1.1.1.1.10.1', '-Ovq'), '" ');
$serial = trim(snmp_get($device, '.1.3.6.1.2.1.47.1.1.1.1.11.1', '-Ovq'), '" ');
}//end if
else if (strpos($sysdescr_value, 'IBM Networking OS 1/10Gb Uplink Ethernet Switch Module') !== false) {
$hardware = "IBM BladeCenter 1/10Gb Uplink Ethernet Switch Module";
}//end if