note 101620 added to function.snmp-set-oid-output-format
| From: | ww at 9rivers dot com | Date: | Thu, 30 Dec 2010 16:43:39 +0000 |
| Subject: | note 101620 added to function.snmp-set-oid-output-format | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175342@lists.php.net to get a copy of this message | ||
There seems to be more than SNMP_OID_OUTPUT_FULL and SNMP_OID_OUTPUT_NUMERIC.
For example, when I walk on BRIDGE-MIB::dot1dTpFdbPort without setting the output format and
var_dump the result, I get output like:
["BRIDGE-MIB::dot1dTpFdbPort.'..F8.7'"]=>
string(2) "52"
When I set it to NUMERIC, I get what I expected:
[".1.3.6.1.2.1.17.4.3.1.2.244.206.70.56.24.55"]=>
string(2) "52"
When I set it to FULL, I get even more (line-wrapped manually):
[".iso.org.dod.internet.mgmt.mib-2 .dot1dBridge.dot1dTp .dot1dTpFdbTable .dot1dTpFdbEntry
.dot1dTpFdbPort. '..F8.7'"]=>
string(2) "52"
----
Server IP: 69.147.83.197
Probable Submitter: 141.214.17.4
----
Manual Page -- http://www.php.net/manual/en/function.snmp-set-oid-output-format.php
Edit -- https://master.php.net/note/edit/101620
Del: integrated -- https://master.php.net/note/delete/101620/integrated
Del: useless -- https://master.php.net/note/delete/101620/useless
Del: bad code -- https://master.php.net/note/delete/101620/bad+code
Del: spam -- https://master.php.net/note/delete/101620/spam
Del: non-english -- https://master.php.net/note/delete/101620/non-english
Del: in docs -- https://master.php.net/note/delete/101620/in+docs
Del: other reasons-- https://master.php.net/note/delete/101620
Reject -- https://master.php.net/note/reject/101620
Search -- https://master.php.net/manage/user-notes.php