Solved

snmpd.conf configuration

Posted on 2008-10-29
3
574 Views
Last Modified: 2008-10-30
Hi,


I would like to configure snmpd to allow my client, IPMONITOR (from solarwinds) to be able to monitor CPU, DISK and memory on my ubunto box.

I am able to get the client to monitor the ports that are open along with ping, but i am not sure what my configuration should look like for the other monitors or even if it is possible to do with ipmonitor.
One of my config files is below.

my second question is whether it is safe to use snmp over the internet? obviously nothing is safe but an unplugged computer 2km's in the ground, but are other people doing this? and are their known exploits?

my third and final question is: what is a trap?

thanks!

system-group-read-community  public
system-group-write-community  public
read-community  public
write-community  public
trap  localhost.localdomain
trap-community  public
managers  localhost.localdomain

Open in new window

0
Comment
Question by:attractsupport
  • 2
3 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 500 total points
ID: 22834833
Depends which version of SNMP you are talking about.  SNMP v3 (the latest) has security enhancements over earlier SNMP versions.

If you are going to run SNMP, the very first thing you should do is to change the read and particularly the write community names from public to something a lot more secure.

You can think of SNMP traps as an alert.  Certain devices can be configured to send a trap based on some threshold being exceeded (eg: disk space, memory etc) and the SNMP server receives the traps and can perform some action based on the trap, eg: send an email or pager alert.
0
 

Author Comment

by:attractsupport
ID: 22835921
Ok,

i have found that snmpd is not started property and i am getting the following error when i look at the logs:
dev snmpd[12621]: netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load()

any ideas how to fix this?
0
 

Author Comment

by:attractsupport
ID: 22845143
I have managed to configure this as per my requirements on a windows box. i gave up on the linux box.

thanks for your help Tintin with regard to the sercurity
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to rebuild XFS volume from LV 19 65
how to install java on RHEL image on EC2 4 27
linux SFTP 8 44
how to configure linux OS using Ubuntu 7 44
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Fine Tune your automatic Updates for Ubuntu / Debian
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question