nagios will not start up
Posted: Fri Mar 24, 2017 9:23 am
Hi
I have install a unbutu 16.04.2 server and nagios 4.2.4
i have finally come to the end with the istallation when i try to start up nagios
service start nagios
--it ask for the password--
Failed to start nagios service unit nagios.service was not found.
have follow this guide
https://www.howtoforge.com/tutorial/ubuntu-nagios/
and try this
Now edit the Nagios file:
vim /etc/init.d/nagios
DESC="Nagios"
NAME=nagios
DAEMON=/usr/local/nagios/bin/$NAME
DAEMON_ARGS="-d /usr/local/nagios/etc/nagios.cfg"
PIDFILE=/usr/local/nagios/var/$NAME.lock
Make it executable and start Nagios:
chmod +x /etc/init.d/nagios
service apache2 restart
servuce nagios start
I have install a unbutu 16.04.2 server and nagios 4.2.4
i have finally come to the end with the istallation when i try to start up nagios
service start nagios
--it ask for the password--
Failed to start nagios service unit nagios.service was not found.
have follow this guide
https://www.howtoforge.com/tutorial/ubuntu-nagios/
and try this
Now edit the Nagios file:
vim /etc/init.d/nagios
DESC="Nagios"
NAME=nagios
DAEMON=/usr/local/nagios/bin/$NAME
DAEMON_ARGS="-d /usr/local/nagios/etc/nagios.cfg"
PIDFILE=/usr/local/nagios/var/$NAME.lock
Make it executable and start Nagios:
chmod +x /etc/init.d/nagios
service apache2 restart
servuce nagios start