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?
What is the easiest way to have Nagios start at bootup?
-
billperrotta
- Posts: 115
- Joined: Fri Feb 21, 2014 11:44 am
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: What is the easiest way to have Nagios start at bootup?
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
http://assets.nagios.com/downloads/nagi ... Source.pdf
-
billperrotta
- Posts: 115
- Joined: Fri Feb 21, 2014 11:44 am
Re: What is the easiest way to have Nagios start at bootup?
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.
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?
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.
Former Nagios employee