Solved

Configure SNMP on Centos

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

943 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

4 Experts available now in Live!

Get 1:1 Help Now