Solved

Configure SNMP on Centos

Posted on 2012-03-19
4
618 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
  • 2
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
legolasthehansy earned 500 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

803 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