备注: 配置本机 snmp 编辑 snmp 配置文件 /etc/snmp/snmpd.conf 修改: com2sec notConfigUser defaultpublic 改为: com2sec notConfigUser 127.0.0.1public 修改: access notConfigGroup anynoauthexactsystemview none none 改为: access notConfigGro
备注:配置本机snmp
编辑snmp配置文件/etc/snmp/snmpd.conf
修改:
com2sec notConfigUser default public
改为:
com2sec notConfigUser 127.0.0.1 public
修改:
access notConfigGroup "" any noauth exact systemview none none
改为:
access notConfigGroup "" any noauth exact all none none
添加view systemview included .1
去掉这句的注释
#view all included .1 80
重启snmp服务并测试
#service snmpd restart
验证:snmpwalk -v 2c -c public localhost if
声明:本网页内容旨在传播知识,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。TEL:177 7030 7066 E-MAIL:11247931@qq.com