php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45095 snmpwalk() doesn't return all the values
Submitted: 2008-05-26 17:44 UTC Modified: 2008-11-29 01:00 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: pukkers at hotmail dot com Assigned:
Status: No Feedback Package: SNMP related
PHP Version: 5.2.6 OS: *
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-05-26 17:44 UTC] pukkers at hotmail dot com
Description:
------------
Hello.
I've found that snmprealwalk, snwmp2_real_walk, snmpwalkoid are not returning the entire oid list from the mib.
They miss out many oid. On my test machine it doesn't go further than the OID .1.3.6.1.2.1.25.6.3.1.5.160.
A test with a python snmwalk would give out oid to number .1.3.6.1.4.1.77.1.4.1.0.
There are approx 100 oids that are left out...

I don't know why tough...

Reproduce code:
---------------
You will need a snmp client. This is a local test.

$res = snmprealwalk('localhost', 'public', null);

while (list($oid, $data) = each($res)) echo "$oid: $data <br>";

Expected result:
----------------
A huge list of oids...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-22 15:04 UTC] nept_uno at hotmail dot com
I have the same problem on HP UX 11.11 with PHP 5.2.0 and net-snmp 5.4. I don't know if in the net-snmp newest release this problem is resolved.
 [2008-11-21 16:36 UTC] jani@php.net
Can you reproduce this using the net-snmp command line tools?
 [2008-11-29 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 13:01:30 2024 UTC