SNMP v2

From: Date: Wed, 18 Jun 2003 20:09:35 +0000
Subject: SNMP v2
Groups: php.general 
Request: Send a blank email to php-general+get-152063@lists.php.net to get a copy of this message
i'm having a heck of a time getting snmpv2 to work with php. does anyone else have it working yet? i'm on rh 7.3 with apache v 1.3.23-14 and php v 4.1.2-7.3.6 on a test system not on the internet. what i'm trying to accomplish is a mib walk with php on a device that only supports snmpv2. here is the code i'm currently using: <? $a = snmpwalk("10.10.1.1", "cn", ""); for ($i=0; $i<count($a); $i++) { echo $a[$i] . "<br>"; } ?> works great on snmpv1 devices- but snmpv2 returns this: Warning: snmpwalk() [function.snmpwalk]: No response from 10.10.1.1 in /home/httpd/html/snmp.php on line 2 r

« previous php.general (#152063) next »