ID: 27347 User updated by: Ernest at Beinrohr dot sk Reported By: Ernest at Beinrohr dot sk -Status: Feedback +Status: Open Bug Type: SNMP related Operating System: linux 2.4 PHP Version: 4.3.4 New Comment:
Ok, but this fails only with SNMPv1 device. That's the problem. <?php $printer_oid = ".iso.org.dod.internet.4.1.11.2.3.9.1.1.3.0"; snmpget("jetdirect", "public", $printer_oid)); ?> Previous Comments: ------------------------------------------------------------------------ [2004-02-22 23:10:38] [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 possible, make the script source available online and provide an URL to it here. Try avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2004-02-22 08:42:35] Ernest at Beinrohr dot sk Description: ------------ I use the newest stable php 4.3.4 and I cannot query my old jetdirect network device with php-snmp. With command line tools it works only when I specify version 1. linux 2.4.22 net-snmp-5.1 Reproduce code: --------------- with SNMPv1 devices Expected result: ---------------- should get a response Actual result: -------------- no response from SNMPv1 device. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27347&edit=1