centos7 SNMP错误记录

如果本地测试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服务解决。

posted @ 2020-06-20 00:16  黄金国的大象  阅读(848)  评论(0编辑  收藏  举报