[Bug 403013] [NEW] php : snmpwalk don't provide last entry

Dominique Fournier dominique.fournier at grenoble.cnrs.fr
Wed Jul 22 13:39:35 BST 2009


Public bug reported:

Binary package hint: php5-snmp

Snmpwalk don't provide the last entry :
<?php
var_dump (snmpget ("1.1.1.4", "public at 2", ".1.3.6.1.2.1.17.4.3.1.2.0.48.72.152.38.213"));
var_dump (snmpwalk ("1.1.1.4", "public at 2", ".1.3.6.1.2.1.17.4.3.1.2.0.48.72.152.38.213"));
var_dump (snmprealwalk ("1.1.1.4", "public at 2", ".1.3.6.1.2.1.17.4.3.1.2.0.48.72.152.38.213"));
?>
The result is :
string(11) "INTEGER: 68"
array(0) {
}
array(0) {
}
I have an answer on this OID : snmpwalk should give me 68 in the array, not empty, like snmpget do !
With system snmpwalk, it works well.

Description:	Ubuntu 9.04
Release:	9.04
php5-snmp:
  Installed: 5.2.6.dfsg.1-3ubuntu4.1
  Candidate: 5.2.6.dfsg.1-3ubuntu4.1
  Version table:
 *** 5.2.6.dfsg.1-3ubuntu4.1 0
        500 http://fr.archive.ubuntu.com jaunty-updates/main Packages
        500 http://security.ubuntu.com jaunty-security/main Packages
        100 /var/lib/dpkg/status
     5.2.6.dfsg.1-3ubuntu4 0
        500 http://fr.archive.ubuntu.com jaunty/main Packages

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
php : snmpwalk don't provide last entry
https://bugs.launchpad.net/bugs/403013
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list