配置snmpd.conf文件需要更改五个地方(默认配置基础上):
1、配置snmp团体名(默认是public): com2sec notConfigUser default public 建议更改public为您使用的团体名称
2、将access notConfigGroup "" any noauth exact systemview none none更改为access notConfigGroup "" any noauth exact all none none
3、将如下两行前面的注释去掉
incl/excl subtree mask
view all included .1 80
-or just the mib2 tree-view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc
4、将下面一行前面的注释去掉
#access notConfigGroup "" any noauth exact roview rwview noneaccess notConfigGroup "" any noauth exact mib2 none none
注意以前您在复制搜索时请使用中间的关键搜索,因为配置文件中字符间隔长,如图