#19601 [Fbk->NoF]: snmp_set_quick_print doesn't work
| From: | php-bugs at lists dot php dot net | Date: | Fri, 01 Nov 2002 07:00:05 +0000 |
| Subject: | #19601 [Fbk->NoF]: snmp_set_quick_print doesn't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23876@lists.php.net to get a copy of this message | ||
ID: 19601
Updated by: php-bugs@lists.php.net
Reported By: cbowman@amtelecom.ca
-Status: Feedback
+Status: No Feedback
Bug Type: SNMP related
Operating System: RedHat Linux 7.3
PHP Version: 4.2.1
New Comment:
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-10-16 21:53:54] sniper@php.net
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.
------------------------------------------------------------------------
[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