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