Page 1 of 1

stop nagios

Posted: Tue May 06, 2014 3:48 am
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,

Re: stop nagios

Posted: Tue May 06, 2014 9:02 am
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.