shutdown VM Nagiosxi server steps

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
vtcedu
Posts: 7
Joined: Wed Mar 11, 2015 9:07 pm

shutdown VM Nagiosxi server steps

Post by vtcedu »

Hi,
would you please provide the steps to shutdown the Nagiosxi server ? such as any stop service.
Ricky
kg2857
Posts: 237
Joined: Wed Apr 12, 2023 5:48 pm

Re: shutdown VM Nagiosxi server steps

Post by kg2857 »

shutdown -r now to restart
shutdown -h now to halt

This is basic linux.
vtcedu
Posts: 7
Joined: Wed Mar 11, 2015 9:07 pm

Re: shutdown VM Nagiosxi server steps

Post by vtcedu »

Hi kg2857,
is no need stop mysql \ postgresql before run shutdown -r now ?
Thanks
Ricky
sgardil
Posts: 143
Joined: Wed Aug 09, 2023 9:58 am

Re: shutdown VM Nagiosxi server steps

Post by sgardil »

Are you looking to shutdown nagios only or shutdown the vm itself in a whole? If you are shuting down as a whole you can do as kg suggested and everything should be fine. The only instances ive noticed of database issues is when a vm is turned off incorrectly, i.e. a power outage. We also have db restore scripts to help fix these issues. If you want to just shutdown everything correlated to nagiosxi you can use these commands (somethings might need to be different based on what distro you are using. i.e. httpd might be php-fpm):
service nagiosxi stop
service npcd stop
service ndo2db stop
service nagios stop
service postgresql stop
service mysqld stop
service httpd stop

Hope this helps
Mikasa23
Posts: 7
Joined: Thu Jul 06, 2023 3:12 am

Re: shutdown VM Nagiosxi server steps

Post by Mikasa23 »

You can use the command `service nagiosxi stop` (for CentOS/Debian) or `systemctl stop nagiosxi` (for systemd). This gracefully stops the Nagios XI service and its dependencies. wordle unlimited
bbahn
Posts: 112
Joined: Thu Jan 12, 2023 5:42 pm

Re: shutdown VM Nagiosxi server steps

Post by bbahn »

The core Nagios service is `nagios`, so you should use

Code: Select all

systemctl stop nagios
or

Code: Select all

service stop nagios
if you're trying to stop Nagios from running.
April: Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
betterwound
Posts: 3
Joined: Mon Jul 24, 2023 11:11 pm

Re: shutdown VM Nagiosxi server steps

Post by betterwound »

vtcedu wrote: Wed Feb 07, 2024 8:26 pm Hi,
would you please provide the steps to shutdown the Nagiosxi server ? such as any stop service.dordle
Ricky
Here's how to shutdown the Nagiosxi server
service nagiosxi stop
service npcd stop
service ndo2db stop
service nagios stop
service postgresql stop
service mysqld stop
service httpd stop
Post Reply