How to configure multiple rocommunity strings

"Kevin Zhang" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello Gurus,

I have net-snmp configured and it is running fine, now I have to add another rocommunity string to make net-snmp send out the some new information (CPU and Memory usages) to new server, how does net-snmp know which information should go with the specified community string? please help!

Following is the currently configuration:

[root@server snmp]# cat snmpd.conf
# Following entries were added by HP Insight Management Agents at
#      Tue Feb 28 16:54:01 EST 2006
rwcommunity m1bv1ew 127.0.0.1
rocommunity m1bv1ew 127.0.0.1
rwcommunity m1bv1ew 209.29.0.7
rocommunity m1bv1ew 209.29.0.7
trapcommunity m1bv1ew
trapsink 209.29.0.7 m1bv1ew
syscontact  Kevin
syslocation  MainFloor

# ---------------------- END --------------------
......

####
# First, map the community name "public" into a "security name"

#       sec.name  source          community
com2sec notConfigUser  default       public

####
# Second, map the security name into a group name:

#       groupName      securityModel securityName
group   notConfigGroup v1           notConfigUser
group   notConfigGroup v2c           notConfigUser

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

# Make at least  snmpwalk -v 1 localhost -c public system fast again.
#       name           incl/excl     subtree         mask(optional)
view    systemview    included   .1.3.6.1.2.1.1
view    systemview    included   .1.3.6.1.2.1.25.1.1

#       group          context sec.model sec.level prefix read   write  notif
access  notConfigGroup ""      any       noauth    exact  systemview none none

......

# Added for support of bcm5820 cards.
pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat

.....
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.