Page 4 of 4

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

Posted: Wed Apr 18, 2018 2:15 pm
by tgriep
Do this, edit the Mod Gearman Server config and enable debugging.
Change this from

Code: Select all

debug=0
to

Code: Select all

debug=1
Restart both the Gearman Server and Worker.

Then turn off the worker for 40 minutes.
In the XI GUI, look at ole of the host or service checks that are in the group and click on the Advanced Tab.
Screen capture it and PM it to me as well as a new System Profile and the Gearman Server's log file

Code: Select all

/var/log/mod_gearman/mod_gearman_neb.log
I would have to know the name of the host or service so I can check the settings for it.

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

Posted: Thu Apr 19, 2018 9:27 am
by rtsupport
As per your suggestion all details has been PM to you.

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

Posted: Thu Apr 19, 2018 2:21 pm
by tgriep
Thanks for the files. I can see the jobs coming in to the gearman server but it looks like the server is bypassing them and running them locally with the Nagios process.
What version of the Gearman server software do you have running on the server?

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

Posted: Fri Apr 20, 2018 6:41 am
by rtsupport
I am able to see two different Versions am i checking right ?

[nagios@usa******** ~]$ /usr/local/bin/check_gearman2 -V
check_gearman: version 2.1.2 running on libgearman 1.1.8

[nagios@usa******** ~]$ /usr/bin/check_gearman2 -V
check_gearman: version 2.1.1 running on libgearman 0.33


gearman_top
2018-04-20 07:33:37 - localhost:4730 - v1.1.12

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

Posted: Fri Apr 20, 2018 8:47 am
by tgriep
Are you saying that you are seeing 2 different versions of Gearman on the Nagios server?
That might be the reason it is not working correctly. What were the steps that you took to install the Gearman software on the Nagios server?

Also, run this to get the version of the Gearman server daemon

Code: Select all

/usr/local/sbin/gearmand -V

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

Posted: Fri Apr 20, 2018 9:17 am
by rtsupport
if i used correct command to get output of gearman version then yes, i am able to see two gearman version on same Nagios server.

gearman was installed on this serer from long time ago which we received from different team and now as we are in process of Nagios
up-gradation so we are using this server for testing purpose.

[nagios@usa******* bin]$ /usr/local/sbin/gearmand -V
gearmand 1.1.12 - https://bugs.launchpad.net/gearmand

if this is the issue then how we can correct it.

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

Posted: Fri Apr 20, 2018 10:08 am
by tgriep
I would remove all of the versions from the server and use this guide to re-install Gearman on the Nagios server and the remote worker.
https://assets.nagios.com/downloads/nag ... ios_XI.pdf
The versions that are installed are the ones that I have been testing with and the Orphan Worker message works so give that a try and see if that fixes the issue.