note 41857 rejected from function.snmpwalk by tomsommer
| From: | tomsommer@php.net | Date: | Fri, 23 Apr 2004 21:50:46 +0000 |
| Subject: | note 41857 rejected from function.snmpwalk by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-68693@lists.php.net to get a copy of this message | ||
Note Submitter: tahir@itcc.no
----
Hi,
I have upgraded php and snmp. When I use
..
.
$ifDesc = snmpwalk($host, $community, "IF-MIB::ifDescr");
for ($i = 0; $i < count($ifDesc); ++$i)
{
print "$ifDesc[$i]\n";
.
.
The out put is not just the value of the OID, but the OID string + the value. Like this.
interfaces.ifTable.ifEntry.ifDescr.1 = FastEthernet0/0
If i use
snmp_set_quick_print(1); I only get rid of "=".
Can any one help
Thanks