Configure SNMP on Centos

Experts,

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

Thank you,
R
RandallVillalobosAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
legolasthehansyConnect With a Mentor Commented:
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
 
RandallVillalobosAuthor Commented:
legolasthehansy,

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

R
0
 
legolasthehansyCommented:
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
 
RandallVillalobosAuthor Commented:
Thx!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.