Solved

Configure SNMP on Centos

Posted on 2012-03-19
4
611 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

706 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now