Edit report at http://bugs.php.net/bug.php?id=45395&edit=1
ID: 45395 Updated by: [email protected] Reported by: chrisohaver at gmail dot com Summary: snmpgetnext only returns value -Status: Open +Status: Wont fix Type: Feature/Change Request Package: SNMP related Operating System: Linux PHP Version: 5.2.6 -Assigned To: +Assigned To: lytboris Block user comment: N Private report: N New Comment: Value-only is the desired result. If you need to get OID with it's value simultaneously you may try new OO API available in trunk: $session->getnext(array($oid)) will return an associative array oid => value. Previous Comments: ------------------------------------------------------------------------ [2008-06-30 20:17:30] chrisohaver at gmail dot com Description: ------------ snmpgetnext does not return the value and oid of the next object. Reproduce code: --------------- $snmp_response = snmpgetnext($hostname, $community, $object_id); Expected result: ---------------- snmpgetnext should return the value and the oid of the next object. Actual result: -------------- snmpgetnext only returns the value of the next object. The next oid is not returned. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=45395&edit=1
