Bug #10397: Cannot get, set or walk on different subtree than .iso.3.6.1.2.1

From: Date: Thu, 19 Apr 2001 11:09:31 +0000
Subject: Bug #10397: Cannot get, set or walk on different subtree than .iso.3.6.1.2.1
Groups: php.dev 
Request: Send a blank email to php-dev+get-51941@lists.php.net to get a copy of this message
From: tlechat@ccf.com Operating system: W2000 PHP version: 4.0.4 PHP Bug Type: SNMP related Bug description: Cannot get, set or walk on different subtree than .iso.3.6.1.2.1 If seems that a default OID (.iso.3.6.1.2.1) is always added to OID parameter when I call snmpget or snmpwalk. Example, If I try : snmpget("myhost","public","1.3.6.1.2.3.1191.1.2"), it will try to get .iso.3.6.1.2.1.1.3.6.1.2.3.1191.1.2 so it fails.... with warning ".iso.3.6.1.2.1.1.3.6.1.2.3.1191.1.2" doesn't exists I modify php_snmp.dll when I saw with an dll editor the string .1.3.6.1.2.1 inside and I replace first of his char by \0, from now, it works fine, I can get different OID. Bonus Question : What is snmprealwalk() function ? There is no information in documentation. It seems that it does same function that snmpwalkoid. Right ? -- Edit Bug report at: http://bugs.php.net/?id=10397&edit=1

« previous php.dev (#51941) next »