| Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-09-2012, 12:17 AM
|
#1
|
|
Member
Registered: Aug 2007
Posts: 176
Rep:
|
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.
|
|
|
|
02-15-2012, 10:57 AM
|
#2
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,805
|
Quote:
Originally Posted by manoj.linux
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.
|
|
|
|
02-16-2012, 02:47 AM
|
#3
|
|
Member
Registered: Aug 2007
Posts: 176
Original Poster
Rep:
|
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.
|
|
|
|
02-16-2012, 09:22 AM
|
#4
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,805
|
Quote:
Originally Posted by manoj.linux
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.
|
|
|
|
02-19-2012, 04:38 PM
|
#5
|
|
LQ Newbie
Registered: Dec 2010
Posts: 8
Rep:
|
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
|
|
|
|
03-19-2012, 09:19 PM
|
#6
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 15,000
|
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.
|
|
|
|
03-20-2012, 01:07 PM
|
#7
|
|
LQ Newbie
Registered: Dec 2010
Posts: 8
Rep:
|
I managed eventually to configure it! ;-)
thanks for the post!
|
|
|
|
12-20-2012, 02:51 AM
|
#8
|
|
LQ Newbie
Registered: Mar 2010
Posts: 6
Rep:
|
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
|
|
|
|
12-20-2012, 08:26 AM
|
#9
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,805
|
Quote:
Originally Posted by doyinosin
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.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:53 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|