host check orphaned issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: host check orphaned issue

Post by bosecorp »

Thats what i did, please let me know once you get a solution to this, as we are facing multiple issues after applying the config in Nagios, as it does not kill all the nagios process while restarting the service.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: host check orphaned issue

Post by tgriep »

Ok, so running

Code: Select all

service nagios restart
Still leaves the extra Nagios process running, correct?
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: host check orphaned issue

Post by bosecorp »

This is when we apply the new config, the nagios service gets restarted and then we have seen that there are more than 2 nagios process running.

And thats when we have see this issue of "Host check orphaned" , so in order to resolved this issue we have to stop the process, but after issuing "/etc/init.d/nagios stop" we still see some of the nagios process running. Then we have to manually kill the process and then start it.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: host check orphaned issue

Post by tgriep »

Have you upgraded Mod Gearman to the new version yet?
Is Applying the Config still generating multiple Nagios processes?
Can you login to the XI server, run the following and post the output?

Code: Select all

cd /usr/local/nagiosxi/scripts
time ./reconfigure_nagios.sh
I want to see how long the reconfigure takes.
Thanks.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: host check orphaned issue

Post by bosecorp »

Hi,

We faced the same issue again where we saw too many messages for "Host check orphan" but this time we verified below things
1) No issues on gearman services
2) There was only 2 process running for nagios
3) Nagios Server load average: 3.63, 2.96, 3.06

This issue is becoming more frequent now, and we need to get this fixed.
Will upgrading gearman really fix this issue ? In order to verify the root cause, can you let me know which logs you need my end?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: host check orphaned issue

Post by tgriep »

Take a look at these 2 posts for any config changes / upgrades that have helped the issue you are having for other people.
https://support.nagios.com/forum/viewto ... 3&start=20
and

Code: Select all

https://support.nagios.com/forum/viewtopic.php?f=16&t=25594
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: host check orphaned issue

Post by bosecorp »

Both the topics talks about different solutions, can you please assist us finding the right solution ?

I would appreciate if you cantake a look at the logs ? Let me know what exact logs you need to look into.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: host check orphaned issue

Post by tgriep »

First thing to do is to upgrade Mod Gearman to the newer version.
That may be enough to fix the issue you are having.
Every environment is different so there isn't one solution for everyone.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: host check orphaned issue

Post by bosecorp »

Sure, i will keep you informed on this.

I have the below documnet for the gearman upgrade.
https://assets.nagios.com/downloads/nag ... ios_XI.pdf

And for backing up nagios i have
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Can you please verify the same.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: host check orphaned issue

Post by tgriep »

Both of those documents are the latest copy and are the correct documents.
FYI, the Backup and Restore document will backup Nagios XI and not the Mod Gearman settings.
You will have to do that manually.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked