#27967 [NEW]: SNMPREALWALK does not return text discriptors

From: Date: Mon, 12 Apr 2004 21:40:28 +0000
Subject: #27967 [NEW]: SNMPREALWALK does not return text discriptors
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-57965@lists.php.net to get a copy of this message
From: mac dot and dot cheese at hush dot com Operating system: Windows 2000 PHP version: 4.3.4 PHP Bug Type: SNMP related Bug description: SNMPREALWALK does not return text discriptors Description: ------------ Working with Windows PHP 4.3.4 or 4.3.5 SNMP does not load all MIBS in c:/usr/mibs directory. php_snmp.dll compiled without HOST-RESOURCES_MIB. Suggest adding additional MIBs to DEFAULT-MIB string in php_snmp.dll. I used a Hex Editor and modified the MIB String in the dll, adding HOST-RESOURCES.MIB;; (replacing SNMP-NOTIFICATION_MIB) and got desired results from snmprealwalk command. Add additional MIBs matching those provided with PHP release. Could not fine another reference to loading additional MIBs NOTE: Unix (FreeBSD 4.9 - PHP 4.3.4) returns all of the text descriptors correctly. ucd-snmp 4.2.3 DEFAULT-MIBS (config.h) included HOST-RESOURCES-MIB and others... Reproduce code: --------------- snmprealwalk("127.0.0.1","public",""); snmpwalk or snmpwalkoid performs the same Expected result: ---------------- host.hrSystem.hrSystemUptime.0 | Timeticks: (161078621) 18 days, 15:26:26.21 Actual result: -------------- 25.1.1.0 | Timeticks: (161078621) 18 days, 15:26:26.21 -- Edit bug report at http://bugs.php.net/?id=27967&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27967&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27967&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27967&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27967&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27967&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27967&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27967&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27967&r=support Expected behavior: http://bugs.php.net/fix.php?id=27967&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27967&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27967&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27967&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27967&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27967&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27967&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27967&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27967&r=float

« previous php.bugs (#57965) next »