Edit report at http://bugs.php.net/bug.php?id=37865&edit=1

 ID:                 37865
 Comment by:         saimoun at saimoun dot fr
 Reported by:        lee dot duncan at intel dot com
 Summary:            The SNMP extension does not support setting multiple
                     OIDs
 Status:             Open
 Type:               Feature/Change Request
 Package:            Feature/Change Request
 Operating System:   SUSE, Kernel 2.6.8-24.21-smp
 PHP Version:        5.1.4
 Block user comment: N

 New Comment:

Hello :) 



I added my patch, it just contains a function, "snmp3_mset", which has
the same prototype that snmp2_set_arr (function of eqguy2002).

For SNMP version 1 and 2 you can easily adapt source code by modifying
the beginning of the function snmp3_mset.



For apply patch you need to copy patch file in root directory of all php
sources, and type "patch -p0 < ext_snmp.patch" (in Unix).



Don't hesitate to mail me for any question.



Saimoun.


Previous Comments:
------------------------------------------------------------------------
[2009-11-27 13:26:59] ch at lathspell dot de

The above patch URL is no longer available. Does anybody still have the
patch? I could put it on my web page until somebody adds it to the PHP
upstream.

------------------------------------------------------------------------
[2009-05-13 12:25:42] yanirj at orckit dot com

Hi,



On behalf of Lee Duncan's good will and Murali Sundar's kindess I've
uploaded the patch for everyone to download.



I truly hope this will get merged into the CVS tree for everyone to
enjoy.



URL: http://sphinx.not.nu/php_snmp_patch.zip



Regards,

Yanir.

------------------------------------------------------------------------
[2009-03-17 11:59:59] yanirj at orckit dot com

It would be great if you post the patch.

Thanks!

------------------------------------------------------------------------
[2008-05-21 12:21:57] daniel dot buschke at nextiraone dot de

Lee, would you please add an attachment with your patch? TIA

------------------------------------------------------------------------
[2007-03-16 15:11:19] eqguy2002 at yahoo dot com

Version: 5.2.1

OS: Windows 2003



PHP's snmpset extension does not support setting multiple OIDs at once.
Doing so from the command line using snmpset from Net-SNMP works fine.



I need to set multiple OIDs at once in order to manage switches

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=37865


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=37865&edit=1

Reply via email to