Page 1 of 1

issue with mod-gearman on host status

Posted: Thu Oct 19, 2017 7:19 am
by mon-team
Hi,
we are running Nagios XI (2014R2.7) with Nagios Core 4.0.8 and since a couples of weeks we are having some troubles with Mod-Gearman (which has always been stable and working).
Only for the Host Status check (services are run correctly) we see the following error:

(host check orphaned, is the mod-gearman worker on queue 'host' running?)

Restarting the Nagios process (/etc/init.d/nagios restart) solves the problem, but in the meanwhile we have hundreds of (false) hosts down.
Nothing interesting in the nagios.log files.
Do you have any suggestions?

Regards,
Francesco

Re: issue with mod-gearman on host status

Posted: Thu Oct 19, 2017 11:55 am
by cdienger
How frequently does this happen? Ideally we'd want to get data from the machine while it's in that state, but if you send an email to [email protected] we can get the ball rolling. We'll want to get a profile(Admin > System Config > System Profile) as well as the config files in /etc/mod_gearman2/ right of the bat even though it sounds like it's now in a better state.

Re: issue with mod-gearman on host status

Posted: Thu Nov 02, 2017 8:21 pm
by tacolover101
what version of gearman are you using?

you should probably schedule an update on your XI install. there have been a lot of improvements since 2014.

Re: issue with mod-gearman on host status

Posted: Fri Nov 03, 2017 11:28 am
by tgriep
Can you look at the Gearman server log file on the Nagios server around the time the Orphan messages were generated and see what the issue was that could of caused it?
Newer versions of Gearman, the log file would be here.

Code: Select all

/var/log/gearmand/gearmand.log