note 13568 rejected and deleted from ref.snmp.php by zak
| From: | zak@php.net | Date: | Fri, 22 Jun 2001 06:31:38 +0000 |
| Subject: | note 13568 rejected and deleted from ref.snmp.php by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14551@lists.php.net to get a copy of this message | ||
Help me please!.
i have this problem.
source :
<PRE>
$temp = snmpwalkoid('127.0.0.1',"public","");
for(reset($temp); $i = key($temp); next($temp))
echo("$i : $temp[$i]<BR>n");
</PRE>
result:
Warning: Error in packet. Reason: (noSuchName) There is no such variable name in this MIB. in
/usr/local/apache/htdocs/test.php on line 3
Warning: This name does not exist: system.sysORTable.sysOREntry.sysORUpTime.9 in
/usr/local/apache/htdocs/test.php on line 3
Warning: Variable passed to reset() is not an array or object in /usr/local/apache/htdocs/test.php
on line 5
Warning: Variable passed to key() is not an array or object in /usr/local/apache/htdocs/test.php on
line 5
-- how to resolv this problem?
i think mib data file is not link error.
please help me.