#27347 [Csd->Bgs]: Cannot query SNMPv1 devices (version cannot be set)
| From: | magnus@php.net | Date: | Mon, 01 Mar 2004 07:30:00 +0000 |
| Subject: | #27347 [Csd->Bgs]: Cannot query SNMPv1 devices (version cannot be set) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-55721@lists.php.net to get a copy of this message | ||
ID: 27347
Updated by: magnus@php.net
Reported By: Ernest at Beinrohr dot sk
-Status: Closed
+Status: Bogus
Bug Type: SNMP related
Operating System: linux 2.4
PHP Version: 4.3.4
New Comment:
Not a bug -> Bogus
Previous Comments:
------------------------------------------------------------------------
[2004-02-27 03:22:43] Ernest at Beinrohr dot sk
in php-4.3.4 new install the bug has not show up.
damn, sorry for robbing your time.
------------------------------------------------------------------------
[2004-02-26 15:48:08] sniper@php.net
Forgot to ask: EXACTLY what error do you get?
(About the version: It _is_ set to 1 in snmpget() )
------------------------------------------------------------------------
[2004-02-23 03:20:32] Ernest at Beinrohr dot sk
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));
?>
------------------------------------------------------------------------
[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