Bug #65422 [Asn->Nab]: Error when calling multiple snmp3 functions
Edit report at https://bugs.php.net/bug.php?id=65422&edit=1
ID: 65422
Updated by: lytboris@php.net
Reported by: pkryon at yahoo dot com
Summary: Error when calling multiple snmp3 functions
-Status: Assigned
+Status: Not a bug
Type: Bug
Package: SNMP related
Operating System: Debian Wheezy
PHP Version: 5.5.1
Assigned To: lytboris
Block user comment: N
Private report: N
New Comment:
>Not sure where to go from there...
use tcpdump to dig further. I will close the ticket.
Previous Comments:
------------------------------------------------------------------------
[2013-08-30 20:00:51] pkryon at yahoo dot com
Well, hm. This got me thinking that all of the devices I've been testing have been Cisco
WS-C4510R+E switches with 7-E supervisor engines. So I tried the same thing on some older WS-C4506
switches with Sup II+ engines and it works just fine. Not sure where to go from there...
I don't currently have the php-snmp source but could probably get that setup if it would still
help.
------------------------------------------------------------------------
[2013-08-30 17:30:42] lytboris@php.net
I have re-checked my configuration and stiil unable to reproduce it:
======================
<?php
echo snmp3_get('127.0.0.1', 'adminSHA', 'authNoPriv', 'sha',
'test1234', '', '', 'SNMPv2-MIB::sysLocation.0') .
"\n";
echo snmp3_get('77.[CUT]', 'adminSHA', 'authNoPriv', 'sha',
'test12345', '', '', 'SNMPv2-MIB::sysLocation.0') .
"\n";
?>
======================
Works fine for me.
Do you have a possibility to run tests bundled with php-snmp source?
------------------------------------------------------------------------
[2013-08-30 17:19:05] lytboris@php.net
Forget previous comment :)
------------------------------------------------------------------------
[2013-08-30 17:11:01] lytboris@php.net
Please note that you have 'sha' written in low case chars. Try replacing them to SHA (the
same way you use in snmpget).
------------------------------------------------------------------------
[2013-08-30 15:48:59] pkryon at yahoo dot com
Reopen
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=65422
--
Edit this bug report at https://bugs.php.net/bug.php?id=65422&edit=1
Thread (10 messages)