1) Check you have net-snmp-utils installed
# yum list installed | grep net-snmp
If not then install them:
# yum install net-snmp-utils
2) Configure SNMP by editing the snmpd configuration file. Firstly take a backup of the current file
# mv /etc/snmp/snmpd.conf /etc/snmp/OLD-snmpd.conf
Now edit the new file.
# vi /etc/snmp/snmpd.conf
rocommunity public 172.17.19.100
syslocation "Jordansphere Towers"
3) Start the SNMP service
# /etc/init.d/snmpd start
4) You can test this using snmpwalk. In this example I am testing from my Cacti server:
# snmpwalk -c public -v 2c 172.17.19.79
(Note the target server is 172.17.19.79)