Shutdown and Restart NagiosXI and the VM

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SETR
Posts: 45
Joined: Mon Jan 30, 2017 4:10 pm

Shutdown and Restart NagiosXI and the VM

Post 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
Last edited by dwhitfield on Wed Mar 01, 2017 10:49 am, edited 1 time in total.
Reason: marking with green check mark
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Shutdown and Restart NagiosXI and the VM

Post 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.
SETR
Posts: 45
Joined: Mon Jan 30, 2017 4:10 pm

Re: Shutdown and Restart NagiosXI and the VM

Post by SETR »

Thank you for confirming!
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Shutdown and Restart NagiosXI and the VM

Post by dwhitfield »

Do you want to lock this up or leave it open in case you run into issues?
SETR
Posts: 45
Joined: Mon Jan 30, 2017 4:10 pm

Re: Shutdown and Restart NagiosXI and the VM

Post by SETR »

This request can be closed. Thank you for your support.
Locked