From 124157a3d813ea984111d9e0991e1ba5c1ded258 Mon Sep 17 00:00:00 2001 From: laf Date: Mon, 20 Jun 2016 14:23:03 +0100 Subject: [PATCH] Fixed NX-OS version polling --- includes/polling/os/nxos.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/polling/os/nxos.inc.php b/includes/polling/os/nxos.inc.php index 11438c3e21..f9ef5bab38 100644 --- a/includes/polling/os/nxos.inc.php +++ b/includes/polling/os/nxos.inc.php @@ -17,7 +17,7 @@ $oids = 'entPhysicalSoftwareRev.22 entPhysicalName.149 entPhysicalSerialNum.10'; $data = snmp_get_multi($device, $oids, '-OQUs', 'ENTITY-MIB'); -if (isset($data[22]['entPhysicalSoftwareRev']) && !empty($data[1]['entPhysicalSoftwareRev'])) { +if (isset($data[22]['entPhysicalSoftwareRev']) && !empty($data[22]['entPhysicalSoftwareRev'])) { $version = $data[22]['entPhysicalSoftwareRev']; }