Hi,
would you please provide the steps to shutdown the Nagiosxi server ? such as any stop service.
Ricky
shutdown VM Nagiosxi server steps
Re: shutdown VM Nagiosxi server steps
shutdown -r now to restart
shutdown -h now to halt
This is basic linux.
shutdown -h now to halt
This is basic linux.
Re: shutdown VM Nagiosxi server steps
Hi kg2857,
is no need stop mysql \ postgresql before run shutdown -r now ?
Thanks
Ricky
is no need stop mysql \ postgresql before run shutdown -r now ?
Thanks
Ricky
Re: shutdown VM Nagiosxi server steps
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
service nagiosxi stop
service npcd stop
service ndo2db stop
service nagios stop
service postgresql stop
service mysqld stop
service httpd stop
Hope this helps
Re: shutdown VM Nagiosxi server steps
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
Re: shutdown VM Nagiosxi server steps
The core Nagios service is `nagios`, so you should use or if you're trying to stop Nagios from running.
Code: Select all
systemctl stop nagios
Code: Select all
service stop nagios
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.
-
- Posts: 3
- Joined: Mon Jul 24, 2023 11:11 pm
Re: shutdown VM Nagiosxi server steps
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