Install SNMP and Configure the Community String For CentOS Rumi, April 23, 2020 Install SNMP Install the SNMPD service by running the following command: yum install net-snmp net-snmp-utils Once the service is installed, verify that it is set to start at startup by running: CentOS 6: chkconfig snmpd on CentOS 7: systemctl enable snmpd Configure SNMP Make a backup of the original configuration file by running: mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig Create a new SNMP configuration file by running: touch /etc/snmp/snmpd.conf Once you have the new configuration file, generate a random string for the SNMP community string using a tool such as passwordsgenerator.net Once you have the string, edit /etc/snmp/snmpd.conf and add the following line, replacing [RANDOM_STRING] with the generated string:rocommunity [RANDOM_STRING] Save the configuration file, and finally start the SNMP service by running: CentOS 6: service snmpd restart CentOS 7: systemctl restart snmpd Administrations Configurations (Linux) CentOSCentOS 6CentOS 7SNMPD