#19601 [Fbk]: snmp_set_quick_print doesn't work
| From: | sniper@php.net | Date: | Thu, 17 Oct 2002 02:53:55 +0000 |
| Subject: | #19601 [Fbk]: snmp_set_quick_print doesn't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22623@lists.php.net to get a copy of this message | ||
ID: 19601
Updated by: sniper@php.net
Reported By: cbowman@amtelecom.ca
Status: Feedback
Bug Type: SNMP related
Operating System: RedHat Linux 7.3
PHP Version: 4.2.1
New Comment:
Basically: snmp_set_quick_print(1) just makes the ucd-snmp library to
return less informative values, so the snmp_set_quick_print() obviously
works for you since the output changes. But there indeed might be some
bug in the ucd-snmp libs. At least ucd-snmp-4.2.6 and net-snmp-5.0.6
behave differently.
I suggest you try the latest CVS snapshot of PHP with net-snmp-5.0.6.
Previous Comments:
------------------------------------------------------------------------
[2002-10-16 18:34:07] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-09-25 13:54:11] cbowman@amtelecom.ca
OS: RedHat Linux 7.3 (Linux version 2.4.18-10) i386
PHP RPM: php-4.1.2-7.3.4
PHP SNMP RPM: php-snmp-4.1.2-7.3.4
UCD SNMP RPM: ucd-snmp-4.2.5-7.73.0
Basically, all this fuction will do is remove the "=" sign between the
OID & the value.
ie..
snmp_set_quick_print(0)
69.1.3.5.0 = "2.1.1.107.004"
OR
snmp_set_quick_print(1)
69.1.3.5.0 "2.1.1.107.004"
I'm not sure why this happens, perhaps it is a bug in UCD & not PHP.
Any help appreciated.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19601&edit=1