snmp agent libraries for C/C++?

纵然是瞬间 提交于 2020-01-02 09:10:15

问题


I have to implement a performance statistics MIB for a linux based device and I am looking for a good agent development library. I came across net-snmp and agent++ libraries. I am looking for easier to understand and robust library. Which is the best library if usability and robustness is main criteria?


回答1:


I have used net-snmp. It is robust and works well. The API is in C but quite simple to encapsulate. More than a library and APIs it is a well tested set of tools to handle SNMP. A reference. I don't know agent++. It is perhaps simpler to deal with as it seems to be a C++ lib.

my2c




回答2:


I used Agent++ and it worked great. They have a tool to automatically creates C++ code to manage a MIB.



来源:https://stackoverflow.com/questions/3116516/snmp-agent-libraries-for-c-c

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!