Page 1 of 1
shutdown VM Nagiosxi server steps
Posted: Wed Feb 07, 2024 8:26 pm
by vtcedu
Hi,
would you please provide the steps to shutdown the Nagiosxi server ? such as any stop service.
Ricky
Re: shutdown VM Nagiosxi server steps
Posted: Thu Feb 08, 2024 3:23 am
by kg2857
shutdown -r now to restart
shutdown -h now to halt
This is basic linux.
Re: shutdown VM Nagiosxi server steps
Posted: Thu Feb 08, 2024 4:25 am
by vtcedu
Hi kg2857,
is no need stop mysql \ postgresql before run shutdown -r now ?
Thanks
Ricky
Re: shutdown VM Nagiosxi server steps
Posted: Fri Feb 09, 2024 12:41 pm
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
Re: shutdown VM Nagiosxi server steps
Posted: Fri Feb 16, 2024 2:41 am
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
Re: shutdown VM Nagiosxi server steps
Posted: Tue Feb 20, 2024 3:02 pm
by bbahn
The core Nagios service is `
nagios`, so you should use
or
if you're trying to stop Nagios from running.
Re: shutdown VM Nagiosxi server steps
Posted: Thu Feb 22, 2024 9:22 pm
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