Page 1 of 1
What is the easiest way to have Nagios start at bootup?
Posted: Mon Feb 24, 2014 11:50 am
by billperrotta
Thinking I might have the power go out and having to manually start or restart the nagios service might not be ideal.
What is the easiest way to make the Nagios Service start on bootup?
Re: What is the easiest way to have Nagios start at bootup?
Posted: Mon Feb 24, 2014 11:52 am
by slansing
The easiest way would be to load it through a service, by using a utility such as chkconfig, look at the second to last section in this document:
http://assets.nagios.com/downloads/nagi ... Source.pdf
Re: What is the easiest way to have Nagios start at bootup?
Posted: Tue Feb 25, 2014 9:41 am
by billperrotta
Thanks for that. Will see if the chkconfig way works if it gets rebooted.
Also one question. My Nagios appears to be running without apache or httpd?
Is httpd optional only? Maybe I don't need it to successfully run nagios?
It says httpd is an unknown service if I try to start or add it to chkconfig.
Re: What is the easiest way to have Nagios start at bootup?
Posted: Tue Feb 25, 2014 10:21 am
by tmcdonald
It might also be called apache2 if you are on a Debian/Ubuntu server. But no, it is not strictly necessary to run Nagios Core, although it should still be there by default.