snmpget on Win32 PHP 4.3.1
| From: | Daniel Maxwell | Date: | Thu, 08 May 2003 16:37:35 +0000 |
| Subject: | snmpget on Win32 PHP 4.3.1 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-146888@lists.php.net to get a copy of this message | ||
Greetings,
I'm using PHP 4.3.1 w/ Apache 2.0.43 on Windows 2000. I am trying to use
the snmpset command, but no matter what I try, I get this error:
Warning: snmpset() [function.snmpset]: Could not add variable: in
D:\Data\website\cisco\changespeed.php on line 14
This is the command I'm using:
$test = snmpset('172.16.12.65', 'swiadn', 'system.sysContact.0',
's', 'D');
Does anyone have a solution, or a means to make this work?
Thanks,
Daniel