php : snmpwalk don't provide last entry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: php5-snmp
Snmpwalk don't provide the last entry :
<?php
var_dump (snmpget ("1.1.1.4", "public@2", ".1.3.6.
var_dump (snmpwalk ("1.1.1.4", "public@2", ".1.3.6.
var_dump (snmprealwalk ("1.1.1.4", "public@2", ".1.3.6.
?>
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.
Candidate: 5.2.6.dfsg.
Version table:
*** 5.2.6.dfsg.
500 http://
500 http://
100 /var/lib/
5.
500 http://
Can you give the expected result as well?
Thanks
chuck