LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   Need Help in configuring SNMP on linux box (https://www.linuxquestions.org/questions/linux-enterprise-47/need-help-in-configuring-snmp-on-linux-box-928420/)

manoj.linux 02-09-2012 12:17 AM

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.

TB0ne 02-15-2012 10:57 AM

Quote:

Originally Posted by manoj.linux (Post 4597734)
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.

manoj.linux 02-16-2012 02:47 AM

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.

TB0ne 02-16-2012 09:22 AM

Quote:

Originally Posted by manoj.linux (Post 4603803)
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.

Elenka 02-19-2012 04:38 PM

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

chrism01 03-19-2012 09:19 PM

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.

Elenka 03-20-2012 01:07 PM

I managed eventually to configure it! ;-)
thanks for the post!

doyinosin 12-20-2012 02:51 AM

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

TB0ne 12-20-2012 08:26 AM

Quote:

Originally Posted by doyinosin (Post 4853513)
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?


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