备注: 配置本机 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
Copyright © 2019- xiaozhentang.com 版权所有 湘ICP备2023022495号-4
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务