Page 1 of 1

two running instances of nagios daemon

Posted: Fri Apr 30, 2021 6:59 pm
by nfla
Hello. I am running Nagios XI 5.7.3 on an Oracle Linux 7 server.

Is this normal? There are always two running instances of the nagios daemon. Restart the server OS, restart the service, doesn't matter.

Code: Select all

[nfla@server ~]$ ps -ef | grep -i nagios.cfg
nagios    2203     1  2 23:50 ?        00:00:02 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios    2222  2203  0 23:50 ?        00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nfla 15769 11831  0 23:51 pts/0    00:00:00 grep --color=auto -i nagios.cfg
[nfla@server ~]$
Thank you.

Re: two running instances of nagios daemon

Posted: Mon May 03, 2021 9:20 am
by lmiltchev
This is normal... One is the "main" process, and the other one is the "child" process. For more info on the PIDs, and PPIDs, read our KB article below:

https://support.nagios.com/kb/article/n ... ts-27.html

Re: two running instances of nagios daemon

Posted: Tue May 04, 2021 4:07 pm
by nfla
Got it. Thanks!

Re: two running instances of nagios daemon

Posted: Tue May 04, 2021 4:42 pm
by lmiltchev
I am glad I could help! I will be closing this topic now. If you have any further questions, please start a new thread. Thank you!