Bug #2841: snmpset () returns an empty array

From: Date: Fri, 26 Nov 1999 23:49:18 +0000
Subject: Bug #2841: snmpset () returns an empty array
Groups: php.dev 
Request: Send a blank email to php-dev+get-13163@lists.php.net to get a copy of this message
From: alex@dreifeld.de Operating system: Linux 2.0.35 PHP version: 3.0.12 PHP Bug Type: Misbehaving function Bug description: snmpset () returns an empty array snmpset () always returns an empty array, while the snmpset-shell command returns the modified data (sometimes needed to retrieve newly created indexes). Create a new license entry on a Bintec router (shell command): snmpset host community .1.3.6.1.4.1.272.254.4.1.1 i 12345 enterprises.272.254.4.1.1.12345.9 = 12345 Same procedure in PHP: <? $ret = snmpset ("host", "community", ".1.3.6.1.4.1.272.254.4.1.1", "i", "12345"); echo count ($ret), "<br>"; ?> returns: 0 (=no entries in the array) Used SNMP-version: ucd-snmp-4_0_1

« previous php.dev (#13163) next »