#45095 [Com]: snmpwalk doesn't return all the values

[email protected] ("nept_uno at hotmail dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               45095
 Comment by:       nept_uno at hotmail dot com
 Reported By:      pukkers at hotmail dot com
 Status:           Open
 Bug Type:         SNMP related
 Operating System: Windows XP SP2
 PHP Version:      5.2.6
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[2008-05-26 17:44:15] 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...



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45095&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.