Centos 6.8 snmp wont start on boot
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:
Quote:
Quote:
Quote:
I then ran the snmpwalk test Quote:
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. |
Quote:
/var/log/messages There should be another log specific to snmp under: /var/log/ Look at dmesg. |
Unfortunately the specific machine has it's system messages disabled (the customer has turned it off for their reasons)
I have raised the logging level to 7 on snmp and monitored /var/log/snmp.log but nothing is outputted. dmesg shows nothing with regards to snmp. Not even an attempt to start it and fail which is very weird also. |
Hmm; what version of snmp is installed?
Code:
rpm -qa | grep -i snmp |
I have now redirected all the snmpd logs to /var/log/snmpd.log and can see the udp connections to Zabbix. So functionally it is working as designed. But it just wont start as a service.
Totally baffled |
snmp version 5.5
and yes I can start manually and all is good. It just wont start as a service. |
All times are GMT -5. The time now is 04:58 PM. |