LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-16-2009, 10:27 AM   #1
jnojr
Member
 
Registered: Sep 2007
Location: San Diego, CA
Posts: 202

Rep: Reputation: 18
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 127.0.0.1
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, 01:42 PM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,272

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

## sec.name source community
com2sec local 127.0.0.1 public
com2sec mynetwork 172.16.0.0/16 vnet

## group.name sec.model sec.name
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 .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat
 
  


Reply


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 07:47 AM
SNMP community string change - SERVER CRASH nishil Linux - Networking 2 11-21-2004 10:14 PM
MRTG, SNMP and Figuring out my 'Community' bpk Linux - Networking 0 04-06-2004 09:22 PM
Adding Mandrake 10.0 Community to Red Hat Grub boot loader NilCode Mandriva 6 03-12-2004 10:19 PM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 11:45 AM


All times are GMT -5. The time now is 10:33 PM.

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