How to install SNMP client on Cent OS / Linux

How to install SNMP client on Cent OS / Linux

Login as root

# yum install net-snmp-utils
Rename the snmpd.conf
# mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.org
# nano /etc/snmp/snmpd.conf
copy and paste below line
rocommunity  public
syslocation  “Your Datacenter”
syscontact   support@yourdomain.com
save the file and exit

Start the SNMP service on linux
# /etc/init.d/snmpd start
# chkconfig snmpd on
Check the SNMP service is working
# snmpwalk -v 1 -c public -O e 127.0.0.1

if your are getting output its working now

Leave a Reply