Req #45395 [Opn->Wfx]: snmpgetnext only returns value
| From: | lytboris@php.net | Date: | Mon, 31 Jan 2011 12:01:42 +0000 |
| Subject: | Req #45395 [Opn->Wfx]: snmpgetnext only returns value | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-158363@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=45395&edit=1
ID: 45395
Updated by: lytboris@php.net
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