XI shutdown & restart method

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

XI shutdown & restart method

Post by lyle »

I went to upgrade our XI 2009R1.3G installation on Centos 5.5, when I realized I am not clear on how to shutdown, then restart XI.

I figure: "/etc/init.d/nagios stop" and "/etc/init.d/nagiosxi stop", but that doesn't seem to stop php, postgres, and several other processes.

Same question on restarting (other than reboot).

Thanks....Lyle
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: XI shutdown & restart method

Post by mguthrie »

All of the key daemons for XI are defined as services, so you can start and stop them with the service command


service nagios restart (This is usually adequate for most changes)
service npcd restart
service ndo2db restart
service nsca restart (if you're using passive checks)
service postgresql restart
service mysqld restart
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: XI shutdown & restart method

Post by tonyyarusso »

This will bring all the different parts down and back up in a sane order:

Code: Select all

service nagiosxi stop
service npcd stop
service ndo2db stop
service nagios stop
service postgresql stop
service mysqld stop
service httpd stop

Code: Select all

service httpd start
service mysqld start
service postgresql start
service nagios start
service ndo2db start
service npcd start
service nagiosxi start
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked