I want to run the nms and the agent in different hosts. but it dosen't work 
well now.please look at the snmpd.conf below, and tell how to config in right 
way. Thanks.

I ran snmpd in 192.168.30.151, and snmpget (get system.1.0, or anything else) 
in 192.168.30.150, then snmpget gots no response with timeout.I used the right 
community.
(
mid150<snmp>113:snmpget -c mymib 192.168.30.151:1621 system.1.0
Timeout: No Response from 192.168.30.151:1621.
)

I modified a snmpd.conf from EXAMPLE.conf,these are some lines about access in 
my snmpd.conf:

####
# First, map the community name (COMMUNITY) into a security name
# (local and mynetwork, depending on where the request is coming
# from):

#       sec.name  source          community
com2sec local       localhost      public
com2sec mynetwork   192.168.30.0/24 mymib

####
# Second, map the security names into group names:

#               sec.model  sec.name
group MyRWGroup v1         local
group MyRWGroup v2c        local
group MyRWGroup usm        local
group MyROGroup v1         mynetwork
group MyROGroup v2c        mynetwork
group MyROGroup usm        mynetwork

####
# Third, create a view for us to let the groups have rights to:

#           incl/excl subtree                          mask
view all    included  .1                               80

####
# Finally, grant the 2 groups access to the 1 view with different
# write permissions:

#                context sec.model sec.level match  read   write  notif
access MyROGroup ""      any       noauth    exact  all    none   none
access MyRWGroup ""      any       noauth    exact  all    all    none

# -----------------------------------------------------------------------------


HW?)b彩h?+y烛N??v??y?'z?jwbv矾?,?n???!3搿?肚擘j?[???(疥?'!?顾l痘ナX??⒇^?^J肢斗?)??囤?l⑶gr?i?

Reply via email to