ID:               38516
 Updated by:       [EMAIL PROTECTED]
 Reported By:      larryjadams at comcast dot net
 Status:           Open
-Bug Type:         SNMP related
+Bug Type:         Feature/Change Request
 Operating System: Win32
 PHP Version:      5.1.5
 New Comment:

Reclassified as feature/change request.


Previous Comments:
------------------------------------------------------------------------

[2006-08-23 17:33:07] larryjadams at comcast dot net

Sorry Tony, the OID should be optional in this call.  If it is found to
be blank, the function should behave like net-snmp's getnext when it is
called without an OID, which is to return the first OID from the entire
tree, typically sysDescr.

Today it is not optional and fails when left to a blank string.

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

[2006-08-23 17:05:27] [EMAIL PROTECTED]

What fix are you talking about?
Please explain first what do you think is wrong and how to reproduce
it.

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

[2006-08-23 15:39:28] larryjadams at comcast dot net

Tony,

How bout I send you a fix.  I can do that much np.  I could also send
you the fix to build net-snmp for windows rather than ucd-snmp if you
like.

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

[2006-08-23 15:23:58] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.



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

[2006-08-23 15:18:01] larryjadams at comcast dot net

You are right, daddy needs a new pair of glasses.  However, if you set
the OID string to "", it still fails, while, if you run the following
command from the command line it will still work:

snmpgetnext -c public -v 1 localhost

The php_snmp requires the OID to be something other than a blank
string.

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

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/38516

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

Reply via email to