From f536c1ef0f94ed83e8c5e1f549438a2f4d932a82 Mon Sep 17 00:00:00 2001 From: Boris Lytochkin Date: Sun, 17 Jul 2011 20:17:49 +0000 Subject: [PATCH] docs for noOIDIncreasingCheck parameter git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313344 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/snmp/snmp.xml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/reference/snmp/snmp.xml b/reference/snmp/snmp.xml index 47476a28a2..f0c66d9908 100644 --- a/reference/snmp/snmp.xml +++ b/reference/snmp/snmp.xml @@ -61,6 +61,11 @@ int oid_output_format + + public + bool + noOIDIncreasingCheck + public array @@ -200,7 +205,7 @@ Controls the way enum values are printed - Parameter toggles if snmpwalk/snmpget etc. should automatically lookup enum values + Parameter toggles if walk/get etc. should automatically lookup enum values in the MIB and return them together with their human readable string. @@ -225,6 +230,23 @@ + + noOIDIncreasingCheck + + Controls disabling check for increasing OID while walking OID tree + + Some SNMP agents are known for returning OIDs out + of order but can complete the walk anyway. Other agents return OIDs + that are out of order and can cause SNMP::walk + to loop indefinitely until memory limit will be reached. + PHP SNMP library by default performs OID increasing check and stops + walking on OID tree when it detects possible loop with issuing warning + about non-increasing OID faced. + Set noOIDIncreasingCheck to &true; to disable this + check. + + + info