#vi /etc/snmp/snmpd.conf
# service snmpd start
# com2sec notConfigUser default public# chkconfig snmpd on
# group notConfigGroup v1 notConfigUser
# group notConfigGroup v2c notConfigUser
# 再加入 group 存取設定
com2sec local localhost public
com2sec mynetwork xxx.xxx.xxx.0/24 public
group MyRWGroup any local
group MyROGroup any mynetwork
找以下設定取消註解#
view all included .1 80
access MyROGroup "" any noauth 0 all none none
access MyRWGroup "" any noauth 0 all all all
disk / 10000
# service snmpd start