LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Adding SNMP rw community (https://www.linuxquestions.org/questions/linux-newbie-8/adding-snmp-rw-community-719584/)

jnojr 04-16-2009 09:27 AM

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?

kirukan 04-16-2009 12:42 PM

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


All times are GMT -5. The time now is 12:22 PM.