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.
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?
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
.
精彩评论