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

From: Date: Mon, 26 May 2008 17:44:15 +0000
Subject: #45095 [NEW]: snmpwalk doesn't return all the values
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-125265@lists.php.net to get a copy of this message
From: pukkers at hotmail dot com Operating system: Windows XP SP2 PHP version: 5.2.6 PHP Bug Type: Scripting Engine problem Bug description: snmpwalk doesn't return all the values 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 bug report at http://bugs.php.net/?id=45095&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45095&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45095&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45095&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45095&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45095&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45095&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45095&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45095&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45095&r=support Expected behavior: http://bugs.php.net/fix.php?id=45095&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45095&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45095&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45095&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45095&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45095&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45095&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45095&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45095&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45095&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45095&r=mysqlcfg

« previous php.bugs (#125265) next »