Page 1 of 1

Shutdown and Restart NagiosXI and the VM

Posted: Tue Feb 14, 2017 11:12 am
by SETR
We would like to increase the memory on the NagiosXI virtual server and our server admins mentioned that this would require a reboot. We are using the CentOS image that we downloaded for the trial.

Found these steps in one of the forum threads and wanted to make sure that these commands are still valid:

Step 1: Shutdown NagiosXI
service nagiosxi stop
service npcd stop
service ndo2db stop
service nagios stop
service postgresql stop
service mysqld stop
service httpd stop

Step 2: Shutdown the Virtual Machine

shutdown -h now

Step 3: Make memory changes


Step 4: Restart the server

Step 5: Restart NagiosXI

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

Re: Shutdown and Restart NagiosXI and the VM

Posted: Tue Feb 14, 2017 11:22 am
by dwhitfield
Yes, that will work is the simple answer.

All of those services should start up when you start the VM. Also, the shutdown command doesn't necessarily need a -h. I generally use -P.

On a new install, you won't need to stop/start postgres, but it won't hurt anything.

Re: Shutdown and Restart NagiosXI and the VM

Posted: Tue Feb 14, 2017 11:39 am
by SETR
Thank you for confirming!

Re: Shutdown and Restart NagiosXI and the VM

Posted: Tue Feb 14, 2017 11:46 am
by dwhitfield
Do you want to lock this up or leave it open in case you run into issues?

Re: Shutdown and Restart NagiosXI and the VM

Posted: Wed Mar 01, 2017 12:04 am
by SETR
This request can be closed. Thank you for your support.