歡迎你
各類文章如有侵犯智慧財產權請來信告知--------607@dlps.tp.edu.tw
設定snmpd.conf
作者:tseng 日期:2009-03-31
# Here is a commented out example configuration that allows less
# restrictive access.
# YOU SHOULD CHANGE THE "COMMUNITY" TOKEN BELOW TO A NEW KEYWORD ONLY
# KNOWN AT YOUR SITE. YOU *MUST* CHANGE THE NETWORK TOKEN BELOW TO
# SOMETHING REFLECTING YOUR LOCAL NETWORK ADDRESS SPACE.
## sec.name source community
com2sec local localhost public
com2sec mynetwork 192.168.100.0/24 public
# 註﹕請將 192.168.100.0/24 改為您機器目前所在的 network 範圍。
## group.name sec.model sec.name
group MyRWGroup v1 local
group MyROGroup v2c mynetwork
#
#group MyRWGroup any otherv3user
#...
## 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
## context sec.model sec.level prefix read write notif
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none