tags:

views:

29

answers:

2

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
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