Installing SNMP on Centos 6.x

Installing SNMP daemon and tools:

As root

yum -y install net-snmp.i686

yum -y install net-snmp-utils

Once these are installed start the snmp daemon:

/etc/init.d/snmpd start

chkconfig snmpd on

 

This is just the basic install but testing it :

snmpwalk -v 1 -c public -O e 127.0.0.1

For production servers it is advisable to at least change the community name.

All configs are in

/etc/snmp/snmpd.conf

and traps are setup here:

/etc/snmp/snmptrapd.conf

No traps are set by default.

Enjoy !!

Leave a Reply

Your email address will not be published. Required fields are marked *