#18834 [Opn->Fbk]: private mibs and PHP ???
| From: | iliaa@php.net | Date: | Fri, 18 Oct 2002 01:21:20 +0000 |
| Subject: | #18834 [Opn->Fbk]: private mibs and PHP ??? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22709@lists.php.net to get a copy of this message | ||
ID: 18834
Updated by: iliaa@php.net
Reported By: didier.anonyme@caramail.com
-Status: Open
+Status: Feedback
Bug Type: SNMP related
Operating System: W2000
PHP Version: 4.2.2
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2002-08-09 12:41:19] didier.anonyme@caramail.com
I'm using php 4.2.2, Apache and W2000.
I can use snmp functions with standard mibs (in /usr/mibs) but when I
want to use private mibs (Cisco, Microsoft...), they are not recognized
(I have copy Cisco mibs in /usr/mibs and restart Apache)
examples :
When I use the OID
$result=snmpget "$host","$community",".1.3.6.1.4.1.9.3.6.12.0");
I obtain a result.
but when I use the mib name
=.iso.org.dod.internet.private.enterprises.cisco.temporary.chassis.chassisSlots.0,
I have a message like this : "Warning: Invalid object identifier:
.iso.org.dod..."
Is it a bug ???
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18834&edit=1