[Query] What is the right order to start and stop Nagios XI Services?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SBhambri
Posts: 10
Joined: Sun Mar 29, 2020 9:34 pm

[Query] What is the right order to start and stop Nagios XI Services?

Post by SBhambri »

Hi Everyone,

What is right order to start and stop Nagios XI Services? Is below order correct?
- SERVICES_START_ORDER=( "mysqld" "nagios" "npcd" "httpd" "snmptt" "crond" )
- SERVICES_STOP_ORDER=( "crond" "snmptt" "httpd" "npcd" "nagios" "mysqld" )

With Regards,

SB
User avatar
lgute
Posts: 126
Joined: Mon Apr 06, 2020 2:49 pm

Re: [Query] What is the right order to start and stop Nagios XI Services?

Post by lgute »

Hi @SBhambri, thanks for reaching out.

This should work for Stopping/Starting XI processes...

Code: Select all

systemctl stop npcd
systemctl stop nagios
systemctl stop crond
systemctl stop mysqld || systemctl stop mariadb
systemctl stop httpd
systemctl stop php-fpm

systemctl start mysqld || systemctl start mariadb
systemctl start httpd
systemctl start php-fpm
systemctl start npcd
systemctl start crond
systemctl start nagios
php-fpm is only for newer RHEL based systems.
Please let us know if you have any other questions or concerns.

-Laura
SBhambri
Posts: 10
Joined: Sun Mar 29, 2020 9:34 pm

Re: [Query] What is the right order to start and stop Nagios XI Services?

Post by SBhambri »

Thanks for your quick reply.
Locked