Hi Bill

The main problem was, it wasn't even installed on my box - it must have had
a brainfart during one of the updates, and only did half a job on the
install, as snmpd didn't even exist. Trying "conary update net-snmp" and
"conary updateall" made no difference, no new troves found. A nose around
the conary options gave me "conary sync net-snmp", and it is now up and
running.

I've got a basic conf file going, will have a nose through yours for any
more ideas.

Regards

Frank

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Pye
Sent: 07 May 2007 23:52
To: [email protected]
Subject: Re: [OF-users] SNMP on Openfiler

Frank

Sorry about that, I thought that link was a description of 'how-to'.

You'll need to modify the /etc/snmp/snmpd.conf file with something like the
following (it's taken from my system):


# Please see /usr/share/doc/packages/net-snmp/EXAMPLE.conf for a # more
complete example and snmpd.conf(5).
#
# Writing is disabled by default for security reasons.  If you'd like # to
enable it uncomment the rwcommunity line and change the community # name to
something nominally secure (keeping in mind that this is # transmitted in
clear text).

# don't use ' < > in strings for syslocation or syscontact # Note that if
you define the following here you won't be able to change # them with
snmpset ## syslocation Server Room ## syscontact Sysadmin ([EMAIL PROTECTED])

# These really aren't meant for production use.  They include all MIBS # and
can use considerable resources.  See snmpd.conf(5) for information # on
setting up groups and limiting MIBS.
## rocommunity public 127.0.0.1
# rwcommunity mysecret 127.0.0.1

#
# Changed info 2007-03-22
############################################################################
###
#
# snmpd.conf:
#   An example configuration file for configuring the ucd-snmp snmpd agent.
#
############################################################################
###
#
# This file is intended to only be as a starting point.  Many more #
configuration directives exist than are mentioned in this file.  For # full
details, see the snmpd.conf(5) manual page.
#
# All lines beginning with a '#' are comments and are intended for you # to
read.  All other lines are configuration commands for the agent.

############################################################################
###
# Access Control
############################################################################
###

# As shipped, the snmpd demon will only respond to queries on the # system
mib group until this file is replaced or modified for # security purposes.
Examples are shown below about how to increase the # level of access.

# By far, the most common question I get about the agent is "why won't # it
work?", when really it should be "how do I configure the agent to # allow me
to access it?"
#
# By default, the agent responds to the "public" community for read # only
access, if run out of the box without any configuration file in # place.
The following examples show you other ways of configuring # the agent so
that you can change the community names, and give # yourself write access to
the mib tree as well.
#
# For more information, read the FAQ as well as the snmpd.conf(5) # manual
page.

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

#       sec.name  source          community
#
com2sec local     127.0.0.1/32     public
com2sec local     192.168.1.0/24   public


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

#       groupName    securityModel securityName
group   MyROGroup    v1            local
group   MyROGroup    v2c           local
group   MyROGroup    usm           local


####
# 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    all            included    .1           80

access MyROGroup ""      any       noauth    exact  all    none   none #
Allow Systems Management Data Engine SNMP to connect to snmpd using SMUX
# smuxpeer .1.3.6.1.4.1.674.10892.1

Just add the above to the beginning of the file and save it. Keep a seperate
copy of the original if you like.

You can then set the snmpd daemon to start at boot with the following:
'chkconfig --level 345 snmpd on'

To manually start it use: /etc/init.d/snmpd start and as a quick check it's
working run: snmpwalk -c public -v 1 localhost .1 - that'll produce a ton of
output. :)

You should then be able to monitor the box from another server with whatever
tools you choose. You may need to tweak the snmpd.conf files for the details
you want but that should get you started.

Regards

Bill

----- Original Message -----
From: "Frank Collingwood" <[EMAIL PROTECTED]>
To: [email protected]
Sent: 07 May 2007 13:09:59 o'clock (GMT+0100) Europe/Berlin
Subject: RE: [OF-users] SNMP on Openfiler

Thanks Bill

Wouldn't have the first clue how to start - have read the (sparse) net-snmp
docos, tried to find snmpd on my box (It isn't there), but all to no avail.
Having never used net-snmp before, it's not that simple.

Regards

Frank 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Pye
Sent: 07 May 2007 22:47
To: [email protected]
Subject: Re: [OF-users] SNMP on Openfiler

Hi

You'll find a thread on the forums that will help:

https://www.openfiler.com/community/forums/viewtopic.php?id=709

It's there but just needs manual configuration.

Regards

Bill

----- Original Message -----
From: "Frank Collingwood" <[EMAIL PROTECTED]>
To: [email protected]
Sent: 07 May 2007 12:19:29 o'clock (GMT+0100) Europe/Berlin
Subject: [OF-users] SNMP on Openfiler

Hi all

Trying to figure out how to enable SNMP on an Openfiler box. Ideally I'd
like to be able to query and have traps sent, but at the moment, anything
will do. Any help would be much appreciated.

Regards

Frank

_______________________________________________
Openfiler-users mailing list
[email protected]
https://lists.openfiler.com/mailman/listinfo/openfiler-users

_______________________________________________
Openfiler-users mailing list
[email protected]
https://lists.openfiler.com/mailman/listinfo/openfiler-users

_______________________________________________
Openfiler-users mailing list
[email protected]
https://lists.openfiler.com/mailman/listinfo/openfiler-users

_______________________________________________
Openfiler-users mailing list
[email protected]
https://lists.openfiler.com/mailman/listinfo/openfiler-users

_______________________________________________
Openfiler-users mailing list
[email protected]
https://lists.openfiler.com/mailman/listinfo/openfiler-users

Reply via email to