snmp agent libraries for C/C++?

2019-05-23 10:58发布

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?

标签: c++ c snmp
2条回答
beautiful°
2楼-- · 2019-05-23 11:15

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

查看更多
Summer. ? 凉城
3楼-- · 2019-05-23 11:20

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

查看更多
登录 后发表回答