Article 53A5Z Centos 6.8 snmp wont start on boot

Centos 6.8 snmp wont start on boot

by
fusion1275
from LinuxQuestions.org on (#53A5Z)
Hi all,

So for the past 3 days I have been trying to get snmpd to auto start at boot time on an old centos machine.

I installed it and added the following line to the bottom of /etc/snmp/snmpd.conf

Quote:
rocommunity public
I then restarted the daemon

Quote:
service snmpd restart
Added the service to start at boot and confirmed by listing it

Quote:
chkconfig snmpd on
Quote:
chkconfig --list |grep snmpd
This shows that runlevel 2,3,4,5 are on

I then ran the snmpwalk test

Quote:
snmpwalk -c public -v2c <MY MACHINE IP ADDR>
This then gives me pages and pages of info

I know that snmp is working as I've also got another server which runs Zabbix 4.4 and this host is configured on it and is monitoring perfectly.

But I just cannot get the service to auto start??? It is killing.

Any ideas please? What other steps have I missed out here? I know I could try creating my own startup script but it already has all start and kill scripts in the rc.d dir.

Thanks for any help you can provide.latest?d=yIl2AUoC8zA latest?i=jjMpNrUOCRU:fv2aATNeCJY:F7zBnMy latest?i=jjMpNrUOCRU:fv2aATNeCJY:V_sGLiP latest?d=qj6IDK7rITs latest?i=jjMpNrUOCRU:fv2aATNeCJY:gIN9vFwjjMpNrUOCRU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments