snmp problems
| From: | Razvan Cosma | Date: | Fri, 14 Feb 2003 15:40:48 +0000 |
| Subject: | snmp problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-135581@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
Suse 8.0, ucdsnmp-4.2.3-145, tried both php-4.1.2 and 4.3.0, compiled
from source, snmp support enabled.
bash# snmpget 1.2.3.4 "communitystring" .1.3.6.1.2.1.2.2.1.1.2
interfaces.ifTable.ifEntry.ifIndex.2 = 2
But if I try the following lines:
$a=snmpwalkoid("1.2.3.4", "communitystring",
".1.3.6.1.2.1.2.2.1.1.2");
print_r ($a)
I get only
Array
(
)
Does anyone else experience the same problem? Or is there some way to
find out if the problem is caused by:
- - suse
- - ucd
- - php
- - me being ignorant
?
Thank you all.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+TQ4AlDG6Z61nQGIRAnkFAKCjkTEGx+rMXV3vUc7NySgZm0l7/gCgsmgG
LiTy00n62rux9RfdjA4sKgU=
=Wa5J
-----END PGP SIGNATURE-----