CentOS 5.6 & SNMP

How do i configure SNMP on CentOS 5.6 via command line?
deklinmAsked:
Who is Participating?
 
arnoldConnect With a Mentor Commented:
You open /etc/snmp/snmpd.conf and enable the
com2sec local localhost community_name
com2sec mynetwork iprange anothercommunity_name.

you then start /etc/init.d/snmpd start.


or are you talking using snmptset to alter snmp alterable settings?
0
 
1ly4meConnect With a Mentor Commented:
#yum install snmpd
open file /etc/snmpd/snmpd.conf and add the following

rocommunity  your_community_srting.name
syslocation  "Server Location"
syscontact  your@mail.com

If you want to monitor Disk usage, add the following
disk /
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.