|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42246 snmpgetnext function not implemented
Submitted: 2007-08-08 11:11 UTC Modified: 2007-08-08 12:39 UTC
From: leon dot stringer at ntlworld dot com Assigned:
Status: Not a bug Package: SNMP related
PHP Version: 5.2.4RC1 OS: Fedora 7
Private report: No CVE-ID: None
 [2007-08-08 11:11 UTC] leon dot stringer at ntlworld dot com
The snmpgetnext() function does not seem to be implemented.

Stub documentation indicates that it is:

Tested on Fedora 7 (php-5.2.2-3, net-snmp-5.4-14.fc7) and Fedore Core 5 (php-5.1.6-1.2, net-snmp-5.3-4.2).

(I realise these aren't the "latest" version (5.2.4RC1) but when this isn't even listed on it's hard to test with this).

Reproduce code:
$snmpcommunity = "public";
$host = "localhost";
$hrStorageDescr = "";
$device = snmpgetnext($host, $snmpcommunity, $hrStorageDescr);

Expected result:
For the value to be returned for the next object in the MIB.

Actual result:
Call to undefined function snmpgetnext()


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-08 12:39 UTC] leon dot stringer at ntlworld dot com
My mistake, I needed to install php-snmp. Sorry...
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Jun 05 22:01:23 2020 UTC