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
Code: Select all
rocommunity public
Code: Select all
service snmpd restart
Code: Select all
chkconfig snmpd on
Code: Select all
chkconfig --list |grep snmpd
I then ran the snmpwalk test
Code: Select all
snmpwalk -c public -v2c <MY MACHINE IP ADDR>
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.