Page 1 of 1
Nagios not starting at boot
Posted: Wed Sep 09, 2015 6:15 pm
by yahootoby
I can start Nagios manually with /etc/init.d/nagios start or service nagios start. Even though the script is right there in /etc/init.d/ and working, I have to start Nagios manually after every reboot.
Re: Nagios not starting at boot
Posted: Wed Sep 09, 2015 7:11 pm
by RandomGuy86
Have you added Nagios to the list of services that start at boot?
Code: Select all
7) Start Nagios
Add Nagios to the list of system services and have it automatically start when the system boots.
chkconfig --add nagios
chkconfig nagios on
https://assets.nagios.com/downloads/nag ... edora.html
Re: Nagios not starting at boot
Posted: Thu Sep 10, 2015 8:45 am
by yahootoby
For Ubuntu:
ln -s /etc/init.d/nagios /etc/rcS.d/S99nagios
And yes, I did that.
Re: Nagios not starting at boot
Posted: Thu Sep 10, 2015 10:04 am
by hsmith
What version of Ubuntu?
sudo update-rc.d nagios defaults may work for you.
Source.