#18834 [NEW]: private mibs and PHP ???

From: Date: Fri, 09 Aug 2002 16:41:20 +0000
Subject: #18834 [NEW]: private mibs and PHP ???
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16392@lists.php.net to get a copy of this message
From:             didier.anonyme@caramail.com
Operating system: W2000
PHP version:      4.2.2
PHP Bug Type:     SNMP related
Bug description:  private mibs and PHP ???

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 bug report at http://bugs.php.net/?id=18834&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=18834&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=18834&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=18834&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=18834&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18834&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=18834&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=18834&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=18834&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=18834&r=globals



Thread (3 messages)

« previous php.bugs (#16392) next »