From 7900b33a8ac1097a71199c6827218eef09ace196 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Rosiak?= Date: Sat, 14 Feb 2015 17:25:07 +0100 Subject: [PATCH] Update ibmnos.inc.php Format change. --- includes/polling/os/ibmnos.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/polling/os/ibmnos.inc.php b/includes/polling/os/ibmnos.inc.php index 12f27b5e2c..a39c88ce3b 100644 --- a/includes/polling/os/ibmnos.inc.php +++ b/includes/polling/os/ibmnos.inc.php @@ -28,8 +28,7 @@ if (strpos($sysdescr_value, 'IBM Networking Operating System') !== false) { $version = trim(snmp_get($device, ".1.3.6.1.4.1.20301.2.7.13.1.1.1.10.0", "-Ovq") , '" '); $serial = trim(snmp_get($device, ".1.3.6.1.4.1.20301.100.100.14.9.0", "-Ovq") , '" '); } -} -elseif (strpos($sysdescr_value, 'IBM Flex System Fabric') !== false) { +} elseif (strpos($sysdescr_value, 'IBM Flex System Fabric') !== false) { $hardware = str_replace("IBM Flex System Fabric", "", $sysdescr_value); $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") , '" ');