开发者

How can I dump a loaded mib out of PHP

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜