php.net |  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
Description:
------------
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:
--------------
-

Patches

Pull Requests

History

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

  http://snaps.php.net/php5.4-latest.tar.gz

For Windows:

  http://windows.php.net/snapshots/

I've added noOIDIncreasingCheck property. When set to true, walk method works exactly as snmpwalk with -Cc flag.
 [2011-07-29 00:44 UTC] ch@php.net
Thanks, that should do it.
 [2011-09-02 20:25 UTC] lytboris@php.net
-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] lytboris@php.net
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
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 11 03:01:28 2024 UTC