note 15136 added to function.snmpwalk
| From: | layer2 at www dot com | Date: | Wed, 29 Aug 2001 12:52:21 +0000 |
| Subject: | note 15136 added to function.snmpwalk | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17297@lists.php.net to get a copy of this message | ||
Something to care about in dealing with snmpwalk:<BR>
While walking the MIB, snmpwalk puts info that gets into an array, and that is
correct.<BR>
The trouble happened when snmpwalk needs to collect information from instances that contains
subinstances (i.e. walking .1.2.3.4.5 and having instances like 1.1, 1.2, 1.3): in this case it gets
info and passes into an array, but when walking the array, each value is preceeded by
'Counter32: '.<BR>
I've tested this in many ways and it always happened the same way.
http://www.php.net/manual/en/function.snmpwalk.php