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']; }