LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 12:17 AM   #1
manoj.linux
Member
 
Registered: Aug 2007
Posts: 284

Rep: Reputation: 17
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, 10:57 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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, 02:47 AM   #3
manoj.linux
Member
 
Registered: Aug 2007
Posts: 284

Original Poster
Rep: Reputation: 17
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, 09:22 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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, 04: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, 09:19 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 01: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, 02: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, 08:26 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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



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

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 07:36 PM.

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
Open Source Consulting | Domain Registration