I loaded a mib into PHP with a ton of OIDs. I'd like some way to dump those out and run through them. I didn't find any way on the php website docs to do that.
A:
If you loaded it into a PHP variable you can dum it via
print_r($var);
If not: Could you provide some code, so we can see how you load them into PHP?
JochenJung
2010-07-08 12:24:54
A:
try the SNMP extension.
there is a function called snmp_read_mib which could be the right for you.
i think the package is called php5-snmp
.
choise
2010-07-08 12:30:17