|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #45395 snmpgetnext only returns value
Submitted: 2008-06-30 20:17 UTC Modified: 2011-01-31 13:01 UTC
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:1 (33.3%)
From: chrisohaver at gmail dot com Assigned: lytboris (profile)
Status: Wont fix Package: SNMP related
PHP Version: 5.2.6 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: chrisohaver at gmail dot com
New email:
PHP Version: OS:


 [2008-06-30 20:17 UTC] chrisohaver at gmail dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-23 21:32 UTC]
-Package: Feature/Change Request +Package: SNMP related
 [2011-01-31 13:01 UTC]
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: lytboris
 [2011-01-31 13:01 UTC]
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:
will return an associative array oid => value.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Feb 24 07:01:28 2024 UTC