|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #54378 Ability to ignore OID not increasing error
Submitted: 2011-03-24 22:30 UTC Modified: 2011-09-02 20:25 UTC
From: ch at lathspell dot de Assigned: lytboris (profile)
Status: Closed Package: SNMP related
PHP Version: trunk-SVN-2011-03-24 (SVN) OS:
Private report: No CVE-ID: None
 [2011-03-24 22:30 UTC] ch at lathspell dot de
The snmpcmd(1) man page lists a lot of options, some of them should
probably be better done in PHP but some, like -Pc or -Cc could be
necessary in rare cases. An alternative would be to expose the "-Y"
function netsnmp_config_remember().

Of course it should be documented that these function alter the
global behaviour and not just the current session. Also that they
are Net-SNMP specific.

Test script:

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-18 17:02 UTC]
-Status: Open +Status: Feedback
 [2011-07-18 17:02 UTC]
Please try using this snapshot:

For Windows:

I've added noOIDIncreasingCheck property. When set to true, walk method works exactly as snmpwalk with -Cc flag.
 [2011-07-29 00:44 UTC]
Thanks, that should do it.
 [2011-09-02 20:25 UTC]
-Summary: Expose snmp_in/out/mib_toggle_options() +Summary: Ability to ignore OID not increasing error -Status: Feedback +Status: Closed -Assigned To: +Assigned To: lytboris
 [2011-09-02 20:25 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 15 19:01:28 2024 UTC