'port']); } $atto_sas_ports = snmpwalk_cache_oid($device, 'sasPortPortNumber', [], $mib); foreach ($atto_sas_ports as $port) { $index = $port['sasPortPortNumber']; $sensorName = "SAS Port $index"; $oid = ".1.3.6.1.4.1.4547.2.3.3.3.1.2.$index"; // FIXME same as above discover_status($device, $index, "sasPortOperationalState.$index", 'atto6500n-mib-sasPort', $sensorName, NULL, ['entPhysicalClass' => 'port']); } unset($atto_fc_ports, $atto_sas_ports); // EOF