mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@@ -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';
|
||||
}
|
||||
}
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user