php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: leon dot stringer at ntlworld dot com
New email:
PHP Version: OS:

 

 [2007-08-08 11:11 UTC] leon dot stringer at ntlworld dot com
Description:
------------
The snmpgetnext() function does not seem to be implemented.

Stub documentation indicates that it is:

  http://www.php.net/manual/en/function.snmpgetnext.php

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 http://www.php.net/downloads.php it's hard to test with this).

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

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

Actual result:
--------------
error_log
Call to undefined function snmpgetnext()

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 15:01:28 2024 UTC