Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-16-2009, 09:27 AM   #1
Registered: Sep 2007
Location: Chandler, AZ
Posts: 229

Rep: Reputation: 20
Adding SNMP rw community

I'm having trouble finding anything that describes how to add a read-write SNMP community.

I've wound up with:

rwcommunity private
rwcommunity private my_it_assistant

com2sec ConfigUser default private

group ConfigGroup v1 ConfigUser
group ConfigGroup v2c ConfigUser

access ConfigGroup "" any noauth 0 all all none

What am I missing?
Old 04-16-2009, 12:42 PM   #2
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
This is my working snmp.conf, search google for further idea

## source community
com2sec local public
com2sec mynetwork vnet

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

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

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

#disk / 10000
disk / 10000
disk /opt 10000
disk /usr 10000
disk /var 10000

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
need snmp syntax to change a community string RedhatES4_user Linux - Software 1 02-12-2007 06:47 AM
SNMP community string change - SERVER CRASH nishil Linux - Networking 2 11-21-2004 09:14 PM
MRTG, SNMP and Figuring out my 'Community' bpk Linux - Networking 0 04-06-2004 08:22 PM
Adding Mandrake 10.0 Community to Red Hat Grub boot loader NilCode Mandriva 6 03-12-2004 09:19 PM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 10:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration