mod_gearman didn't work after update 5.7.1

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
winsonlee
Posts: 42
Joined: Tue Mar 05, 2019 10:38 pm

mod_gearman didn't work after update 5.7.1

Post by winsonlee »

After upgrade Xi to 5.7.1, mod_gearman stop work
use gearman_top can't see any job is running, and gearman server loading is heavy
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: mod_gearman didn't work after update 5.7.1

Post by benjaminsmith »

Hi @winsonlee,


Thanks for bringing this to our attention. We've been able to repeat the issue here and we've got our team working on it right now. Once resolved, I will provide instructions for applying a patch.

I will update you as soon as I have more information.

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
winsonlee
Posts: 42
Joined: Tue Mar 05, 2019 10:38 pm

Re: mod_gearman didn't work after update 5.7.1

Post by winsonlee »

Hi,

When is the bug expected to be fixed and released? Our monitoring is currently suspended and needs your help to resume.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: mod_gearman didn't work after update 5.7.1

Post by benjaminsmith »

Hi @Winsonlee,

We're working on the next release to correct this and we should have it out next week. In the meantime, please try the following as it has resolved the issue for some customers. Open up the main Nagios configuration file at usr/local/nagios/etc/nagios.cfg and make sure the NDO broker module is loaded before Mod Gearman, as follows:

Code: Select all

broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
broker_module=/usr/lib64/mod_gearman/mod_gearman_nagios4.o config=/etc/mod_gearman/module.conf eventhandler=no
Then re-start Nagios Core, and let us know if the issue is resolved for you.

Code: Select all

systemctl restart nagios
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
winsonlee
Posts: 42
Joined: Tue Mar 05, 2019 10:38 pm

Re: mod_gearman didn't work after update 5.7.1

Post by winsonlee »

benjaminsmith wrote:Hi @Winsonlee,

We're working on the next release to correct this and we should have it out next week. In the meantime, please try the following as it has resolved the issue for some customers. Open up the main Nagios configuration file at usr/local/nagios/etc/nagios.cfg and make sure the NDO broker module is loaded before Mod Gearman, as follows:

Code: Select all

broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
broker_module=/usr/lib64/mod_gearman/mod_gearman_nagios4.o config=/etc/mod_gearman/module.conf eventhandler=no
Then re-start Nagios Core, and let us know if the issue is resolved for you.

Code: Select all

systemctl restart nagios
Since I have reinstalled mod_gearman, so the setting is already the way mentioned in the reply

I am waiting for the correction next week, thank you for your reply
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: mod_gearman didn't work after update 5.7.1

Post by benjaminsmith »

I am waiting for the correction next week, thank you for your reply
Thanks for your patience, we'll have more information early next week.

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
winsonlee
Posts: 42
Joined: Tue Mar 05, 2019 10:38 pm

Re: mod_gearman didn't work after update 5.7.1

Post by winsonlee »

benjaminsmith wrote:
I am waiting for the correction next week, thank you for your reply
Thanks for your patience, we'll have more information early next week.

Benjamin
Is there any new news?
danniiffxi
Posts: 121
Joined: Tue Jan 30, 2018 3:29 am
Location: UK

Re: mod_gearman didn't work after update 5.7.1

Post by danniiffxi »

Sorry to jump into your thread, but I have updated both of my Nagios instances this morning. The instance I have that uses Gearman is dead, the updates was successful, the GUI loads fine, but no service checks are happening.

The second instance we run does not have Gearman, and that updated without issue.

Hopefully they will find a fix for this soon.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: mod_gearman didn't work after update 5.7.1

Post by lmiltchev »

The Mod Gearman issue will be fixed in Nagios XI 5.7.2, which will be released this week.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked