问题实例
CentOS
No Such Object available on this agent at this OID 或 No more variables left in this MIB View (It is past the end of the MIB tree)
本地测试:snmpwalk -v 2c -cpublic **localhost **1.3.6.1.2.1.25.3.3.1.1
远程测试:snmpwalk -v 2c -c public 192.168.1.172 1.3.6.1.2.1.25.3.3.1.1
如果本地测试 ok,远程测试出现如下报错:
**No Such Object available on this agent at this OID**
** 或**** ****No more variables left in this MIB View (It is past the end of the MIB tree)\*\*
修改 snmpd.conf(/etc/snmp/snmpd.conf),并重启 snmpd(service snmpd restart)
access notConfigGroup "" any noauth exact systemview none none
-->
access notConfigGroup "" any noauth exact all none none
在 snmpd.conf 配置文件里面,查找以下字段:[/color]
incl/excl subtree mask
#view all included .1 80
将该行前面的"#“去掉.
之后重启 snmpd 服务解决。
Ubuntu
Cannot adopt OID in XXXXXXX
如果无法加载第三方 OID,并出现如下报错
Cannot adopt OID in XXXXXX
则是因为缺少必要的包,安装即可
他们分别是:getcomposer 和 snmp-mibs-downloader
apt-get install snmp-mibs-downloader
反馈
此页是否对你有帮助?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.