Bug #70382 [NEW]: snmp2_real_walk claims "No response"

From: Date: Fri, 28 Aug 2015 13:50:45 +0000
Subject: Bug #70382 [NEW]: snmp2_real_walk claims "No response"
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-195597@lists.php.net to get a copy of this message
From: php at t-b-o-h dot net Operating system: CentOS 6.3/Windows 7 PHP version: 5.6.12 Package: SNMP related Bug Type: Bug Bug description:snmp2_real_walk claims "No response" Description: ------------ We are using an F5 BIGIP load balancer, and trying to monitor it. Running the test script results in "PHP Warning: snmp2_real_walk(): No response from HOSTHERE in /home/tuc/Desktop/snmp2_real_walk.php on line 2" on CentOS and Windows 7, versions 5.3.3 through 5.6.12 . However : [tuc@monitoring-01.sf ~]$ time snmpwalk -v2c -c PASSWORD HOST .1.3.6.1.4.1.3375.2.2.10.2.3.1.1|wc -l 48 real 0m0.104s user 0m0.037s sys 0m0.006s In every case I look a tcpdump returns well before the script bombs. The data returned (48 lines) includes some really long OIDS... : SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.1.41.47.67.111.109.109.111.110.47.97.100.101.110.103.105.110.101.45.112.114.111.100.116.101.115.116.95.112.117.98.108.105.99.45.105.112.49.56.49.46.56.48 = STRING: "/Common/service1" SNMPv2-SMI::enterprises.3375.2.2.10.2.3.1.1.42.47.67.111.109.109.111.110.47.97.100.101.110.103.105.110.101.45.112.114.111.100.116.101.115.116.95.112.117.98.108.105.99.45.105.112.49.56.49.46.52.52.51 = STRING: "/Common/service2" Test script: --------------- <?php print_r(snmp2_real_walk("HOSTHERE:161", "PASSWORDHERE", ".1.3.6.1.4.1.3375.2.2.10.2.3.1.1")); ?> Expected result: ---------------- 48 line array of OIDs and strings such as above Actual result: -------------- "PHP Warning: snmp2_real_walk(): No response from HOSTHERE in /home/tuc/Desktop/snmp2_real_walk.php on line 2" -- Edit bug report at https://bugs.php.net/bug.php?id=70382&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70382&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70382&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70382&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70382&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70382&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70382&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70382&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70382&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70382&r=support Expected behavior: https://bugs.php.net/fix.php?id=70382&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70382&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70382&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70382&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70382&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70382&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70382&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70382&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70382&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70382&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70382&r=mysqlcfg

« previous php.bugs (#195597) next »