stop nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

stop nagios

Post by hanya.radwan »

hi,

i need to stop nagios server , so i plan to do the following, so please is it a correct way :
1.stop nagios using this command:

service nagios stop
killall nagios
service ndo2db stop

2.stop the server(Centos):
shutdown -h now

start steps:

1.start the server(Centos)
2. start nagios:
service nagios start
killall nagios
service ndo2db start

thanks,
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: stop nagios

Post by tmcdonald »

Honestly restarting the server with "shutdown -r now" should take care of all of that for you assuming everything was set up properly. The shutdown command takes care of stopping all the services, and they should start automatically on a reboot.
Former Nagios employee
Locked