Page 2 of 3
Re: host check orphaned issue
Posted: Tue Apr 26, 2016 4:49 pm
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.
Re: host check orphaned issue
Posted: Tue Apr 26, 2016 4:51 pm
by tgriep
Ok, so running
Still leaves the extra Nagios process running, correct?
Re: host check orphaned issue
Posted: Fri Apr 29, 2016 9:15 am
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.
Re: host check orphaned issue
Posted: Fri Apr 29, 2016 1:54 pm
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.
Re: host check orphaned issue
Posted: Mon May 02, 2016 11:02 am
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?
Re: host check orphaned issue
Posted: Mon May 02, 2016 1:43 pm
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
Re: host check orphaned issue
Posted: Mon May 02, 2016 2:33 pm
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.
Re: host check orphaned issue
Posted: Mon May 02, 2016 2:49 pm
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.
Re: host check orphaned issue
Posted: Mon May 02, 2016 3:20 pm
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.
Re: host check orphaned issue
Posted: Mon May 02, 2016 3:59 pm
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.