|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2004-02-22 08:42 UTC] 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 08:00:01 2025 UTC | 
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)); ?>