?
Solved

Configure SNMP on Centos

Posted on 2012-03-19
4
Medium Priority
?
628 Views
Last Modified: 2012-03-21
Experts,

Can someone please provide me with the parameters on how to configure snmp on Centos 5.x and 6.x

Thank you,
R
0
Comment
Question by:RandallVillalobos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
legolasthehansy earned 2000 total points
ID: 37739049
Once you have SNMP installed, open /etc/snmp/snmpd.conf (It is better you take a backup of this file)
cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.original
vi /etc/snmp/snmp.conf

Make sure you name the community name (default is public, you can change it to something else)
You can make the changes to syslocation and syscontact if needed
Also make sure you decide what attributes you would need to set for your community (ro or rw)

Save and exit
/etc/init.d/snmpd restart
0
 

Author Comment

by:RandallVillalobos
ID: 37739062
legolasthehansy,

Thanks for your input, I will test and let you know

R
0
 
LVL 11

Expert Comment

by:legolasthehansy
ID: 37739072
Forgot to mention, to test and see everything is working run this command if your community name is 'public'

snmpwalk -v 1 -c public -O e 127.0.0.1
0
 

Author Closing Comment

by:RandallVillalobos
ID: 37748122
Thx!
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

771 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