#45095 [Opn->Fbk]: snmpwalk() doesn't return all the values

From: Date: Fri, 21 Nov 2008 16:36:24 +0000
Subject: #45095 [Opn->Fbk]: snmpwalk() doesn't return all the values
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-131179@lists.php.net to get a copy of this message
ID: 45095 Updated by: jani@php.net Reported By: pukkers at hotmail dot com -Status: Open +Status: Feedback Bug Type: SNMP related Operating System: * PHP Version: 5.2.6 New Comment: Can you reproduce this using the net-snmp command line tools? Previous Comments: ------------------------------------------------------------------------ [2008-08-22 15:04:55] 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-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

« previous php.bugs (#131179) next »