Ok, i try to use something like this (worked for me on freebsd machine)
#####################################################
com2sec local   localhost        yyyy
com2sec mynetwork       192.168.1.0/24   yyyy
group MyRWGroup v1       local
group MyRWGroup v2c      local
group MyRWGroup usm      local
group MyROGroup v1       mynetwork
group MyROGroup v2c      mynetwork
group MyROGroup usm      mynetwork
view all    included  .1    80
access MyROGroup ""      any       noauth    exact  all    none   none
access MyRWGroup ""      any       noauth    exact  all    all    none

I try to launch snmpd like this:
# /usr/local/sbin/snmpd -f /etc/snmpd.conf
I receive this error
Segmentation fault (core dumped)

Fratiman Vladut wrote:
I try to configure snmpd in oreder to monitor traffic on openbsd.
I use snmpconf, and configure only community name. The generated snmpd.conf look like this: ###########################################################################
#
# snmpd.conf
#
#   - created by the snmpconf configuration program
#
###########################################################################
# SECTION: Access Control Setup
#
#   This section defines who is allowed to talk to your running
#   snmp agent.

# rocommunity: a SNMPv1/SNMPv2c read-only access community name
#   arguments:  community [default|hostname|network/bits] [oid]

rocommunity  someone

When i run snmpd in debug mode, i receive an error that say about syntax error into snmpd.conf at line where is defined community name.
What is wrong?

Reply via email to