Page 1 of 1

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

Posted: Tue May 07, 2024 4:00 am
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

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

Posted: Tue May 07, 2024 2:25 pm
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.

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

Posted: Wed May 08, 2024 2:16 am
by SBhambri
Thanks for your quick reply.