开发net-SNMP (Ubuntu 12.04),添加了一个简单的MIB库,只有一个节点,参考如下步骤:
http://blog.csdn.net/hepeng597/article/details/8782868
现在进行测试:
snmpget -v2c -c public localhost 1.3.6.1.4.1.16535.1.1.0
得到错误结果:
Test-MIB::GetString.0= No such object available on this agent at this OID
看起来程序已经能解析MIB库了,(显示了Test-MIB::GetString),但是不知道为什么得不到结果