|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2004-04-28 09:48 UTC] harrie@php.net
  [2010-12-01 16:17 UTC] jani@php.net
 
-Package: Feature/Change Request
+Package: SNMP related
  [2011-01-31 13:18 UTC] lytboris@php.net
 
-Status:      Analyzed
+Status:      Bogus
-Assigned To:
+Assigned To: lytboris
  [2011-01-31 13:18 UTC] lytboris@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 19:00:02 2025 UTC | 
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