#2841 [Opn->]: snmpset () returns an empty array
| From: | sniper@php.net | Date: | Wed, 30 Mar 2005 07:00:59 +0000 |
| Subject: | #2841 [Opn->]: snmpset () returns an empty array | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-76025@lists.php.net to get a copy of this message | ||
ID: 2841
Updated by: sniper@php.net
Reported By: alex at dreifeld dot de
-Status: Open
+Status: Wont Fix
Bug Type: Misbehaving function
Operating System: Linux 2.0.35
PHP Version: 3.0.12
New Comment:
We are sorry, but we can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Of course PHP 4 will continue to be supported for the
forseeable future.
Previous Comments:
------------------------------------------------------------------------
[1999-11-27 00:49:18] alex at dreifeld dot de
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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=2841&edit=1