(host check orphaned, is the mod-gearman worker on queue 'ho

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

(host check orphaned, is the mod-gearman worker on queue 'ho

Post by progressive.nagiosXI »

Hi Team,

i"m getting this error usually in every week for 2 to 4 hour then its automatically getting resolve, i"m not sure what is happening here as only host is showing down but all the services are in OK state.

I have restarted both worker and server with the help of following document

https://support.nagios.com/kb/article/n ... s-484.html

Please help here.
You do not have the required permissions to view the files attached to this post.
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Re: (host check orphaned, is the mod-gearman worker on queue

Post by progressive.nagiosXI »

I have attached module.conf file of mod -gearman server.

as it seems to be problem of server only as i have multiple workers and problem usually rotates in all of the,



ps -ef | grep nagios.cfg | grep -v grep
nagios 121582 1 1 17:46 ? 00:00:11 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 121617 121582 0 17:46 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: (host check orphaned, is the mod-gearman worker on queue

Post by ssax »

Is it happening for only this specific host? (earth.somany.etc)

Do you have multiple workers? Please attach all of your worker configuration files so that we can take a look. I'm wondering if one of your workers is unable to access it (blocked by firewall or some other connection issue) and so it will error when it tries to check the host but the other checks go through just fine since they are going through a server that can access it?

Like so:

Worker1 > earth.somany.etc = works
Worker2 > earth.somany.etc = Unable to ping/connect

So worker1 might pick up the checks the most of the time but maybe worker2 sometimes gets the checks and that's why you receive the error? We won't know until we can see your complete gearman configuration from your XI server and and your workers so that we can piece it together.

What are you seeing in your worker logs under /var/log/?
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Re: (host check orphaned, is the mod-gearman worker on queue

Post by progressive.nagiosXI »

This is happening with randomly any hosts,
I have attached worker.conf file for for one of my workers the configuration is same in all the worker file.

will share the logs soon
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: (host check orphaned, is the mod-gearman worker on queue

Post by ssax »

That looks fine, are you seeing anything in the logs? Make sure to check all the workers.

Thank you
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Re: (host check orphaned, is the mod-gearman worker on queue

Post by progressive.nagiosXI »

have not seen anything still problem continues
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: (host check orphaned, is the mod-gearman worker on queue

Post by ssax »

When you receive the host check orphaned message it means that one of your workers was having issues getting the results during that time, the only way to debug it would be for you to look at which workers are having it and see if you are having ping issues during that time (whether the remote host is so overloaded that it doesn't repond to pings or from a network hiccup/routing issue). You will need to look at your worker logs during that time and see what's going and troubleshoot any issues you may have.
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Re: (host check orphaned, is the mod-gearman worker on queue

Post by progressive.nagiosXI »

Thanks Team,

Will do it and share you the details.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: (host check orphaned, is the mod-gearman worker on queue

Post by ssax »

Thank you, let us know the results.
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Re: (host check orphaned, is the mod-gearman worker on queue

Post by progressive.nagiosXI »

Hi Team,

We are facing this issue and now this has become a serious concern we have multiple Mod-gearman worker configured and in evry worker there are always 5-6 random devices which shows down with error ==> (host check orphaned, is the mod-gearman worker on queue ) ,

we have checked the load on worker servers but its not an issue.

also i think we have an issue with gearman as we are unable chekc the status of gearmand service in the original nagios server but its working and collectring the data
Locked