LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices



Reply
 
Search this Thread
Old 02-09-2012, 01:17 AM   #1
manoj.linux
Member
 
Registered: Aug 2007
Posts: 231

Rep: Reputation: 15
Question Need Help in configuring SNMP on linux box


Hi,

I would like to know modifying /etc/snmp/snmpd.conf

rocommunitty (Stringname) will be sufficient for configuring snmp or any other configuraion needs to be done to work snmp

Please suggest.
 
Old 02-15-2012, 11:57 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,088

Rep: Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715
Quote:
Originally Posted by manoj.linux View Post
Hi,
I would like to know modifying /etc/snmp/snmpd.conf

rocommunitty (Stringname) will be sufficient for configuring snmp or any other configuraion needs to be done to work snmp
Please suggest.
Suggest what??? Setting a read-only config string is one small item for SNMP configuration...you can probably even start SNMPD without doing ANYTHING to the base/example snmpd.conf file.

Whether you need 'any other configuration', how can anyone here tell you that?? We don't know your needs, what you're trying to accomplish, on what version/distro of Linux, etc.
 
Old 02-16-2012, 03:47 AM   #3
manoj.linux
Member
 
Registered: Aug 2007
Posts: 231

Original Poster
Rep: Reputation: 15
Question

Thanks TB0ne for your quick response,

Actually I am have received custom snmp string which needs to be configured on Servers for snmp.

requirement was for only adding custom snmp string and starting snmp service

So I was having query that only adding custom string and starting service snmp will work? or any other configuration needs to be done to work snmp string?

Thanks.
 
Old 02-16-2012, 10:22 AM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,088

Rep: Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715
Quote:
Originally Posted by manoj.linux View Post
Thanks TB0ne for your quick response,
Actually I am have received custom snmp string which needs to be configured on Servers for snmp. requirement was for only adding custom snmp string and starting snmp service So I was having query that only adding custom string and starting service snmp will work? or any other configuration needs to be done to work snmp string?
If you mean a custom ro/rw community string, then yes. Change it, restart snmpd, and you're done. You should also try reading the man pages for such things, or check Google.
 
Old 02-19-2012, 05:38 PM   #5
Elenka
LQ Newbie
 
Registered: Dec 2010
Posts: 8

Rep: Reputation: 2
Hello!

I have RHL Enterprise 4 (nahant update 8) recently installed on a Dell Power Edge server (no internet connection),
and I also need enabling (installing) SNMP.

I read a lot about configuration of SNMP, but not much about the right
prerequisites of installing SNMP (packages I need, and other Linux utilities to make the packages installed right.)

As an example, do i need to install Yum, what to check else (as i believe this is a "poor" version of Linux).
I would really appreciate some help even some good links with clear instructions as this is a production server, I dont have so much experience and i wanted to check what i need.

Thanks a lot!

Elenka
 
Old 03-19-2012, 10:19 PM   #6
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
You shouldn't bother with RHEL4.x, especially in prod; it's no longer supported or updated: http://www.redhat.com/security/updates/errata/.
Go straight to v6, which includes yum by default.
 
Old 03-20-2012, 02:07 PM   #7
Elenka
LQ Newbie
 
Registered: Dec 2010
Posts: 8

Rep: Reputation: 2
I managed eventually to configure it! ;-)
thanks for the post!
 
Old 12-20-2012, 03:51 AM   #8
doyinosin
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Rep: Reputation: 0
snmp configuration

Hi,

I am on a Redhat Linux 2.6.18-308.24.1.el5 x86_64 and I need to configure snmp with the following details

-SNMP Contact : <contact_string>
-Location: <location_string>
-Community Name : <community_string>
-Rights : Read Write
-Trap destination : <IP>
-Accept SNMP packets from any host
-Check all services

I would be extremely grateful if someone can provide assistance in incorporating this in /etc/snmp/snmpd.conf

Thanks
 
Old 12-20-2012, 09:26 AM   #9
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,088

Rep: Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715
Quote:
Originally Posted by doyinosin View Post
Hi,
I am on a Redhat Linux 2.6.18-308.24.1.el5 x86_64 and I need to configure snmp with the following details

-SNMP Contact : <contact_string>
-Location: <location_string>
-Community Name : <community_string>
-Rights : Read Write
-Trap destination : <IP>
-Accept SNMP packets from any host
-Check all services

I would be extremely grateful if someone can provide assistance in incorporating this in /etc/snmp/snmpd.conf
Thanks
Please don't re-open old threads, and don't hijack them with your own question. Start a new thread for a new question.

If you need to do very basic setup of SNMP, there are MANY how-to guides you can easily find with Google. Read the man page on the snmpd.conf file ("man snmpd.conf"), and you'll see things like this:
http://linux.die.net/man/5/snmpd.conf
http://www.it-slav.net/blogs/2008/11...hel-or-centos/
https://access.redhat.com/knowledge/...-Net-SNMP.html

And, since you're using RHEL5, you should contact Red Hat support, since you're paying for it with your RHEL subscription, right?
 
1 members found this post helpful.
  


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
Configuring Custom SNMP MIB to Default DELL OMSA SNMP prabakar4all Linux - Server 0 07-29-2011 12:44 PM
Configuring a Linux Box router SBN Linux - Networking 10 03-05-2007 09:43 PM
should I bother with configuring security on my linux box if... darkpark Linux - Security 8 12-11-2003 10:37 PM
Going INSANE with Apache and Configuring my Linux Box biggdady6998 Linux - Software 5 08-11-2003 12:08 AM
Your advice re: configuring a new Linux box lhoff Linux - General 1 09-01-2001 12:53 PM


All times are GMT -5. The time now is 12:19 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration