Nagios XI 2014 RC2 Loss of perfdata when mod gearman started

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Nagios XI 2014 RC2 Loss of perfdata when mod gearman started

Post by mrochelle »

Nagios XI Version : 2014R1.0RC2
nagiosxidevd.cellnet.com 2.6.32-279.11.1.el6.x86_64 x86_64
CentOS release 6.3 (Final)
Gnome is not installed
mod_gearman: initialized version 1.4_nagios4 (libgearman 0.25)
livestatus: Livestatus 1.2.4 by Mathias Kettner. Socket: '/usr/local/nagios/var/rw/live'

Preliminary testing results in dev environment.

I've notice a problem when testing mod_gearman with Nagios XI 2014R1.0RC2. Once I enable the broker_module in nagios.cfg:
broker_module=/usr/lib64/mod_gearman/mod_gearman.o config=/etc/mod_gearman/mod_gearman_neb.conf
I stop capturing performance data when I view " ls -lrt /usr/local/nagios/share/perfdata " the perfdata directories. Of course my performance graphs end at the time nagios is restarted with the mod_gearman broker_module active.
The following logs show no problems:
/var/log/mod_gearman/mod_gearman_neb.log
/usr/local/nagios/var/npcd.log

When I remove the mod_gearman broker_module entry and restart npcd, performance capturing starts back up ok. Also when mod_gearman is active, it works fine.
Comments and feedback are welcome. :(
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios XI 2014 RC2 Loss of perfdata when mod gearman sta

Post by slansing »

Hello mrochelle,

Can you please share your modgearman config file with us? Are you implementing remote gearman workers yet or is this just local? Mod gearman can also process performance data so I think that might be where this issue is stemming from.
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Nagios XI 2014 RC2 Loss of perfdata when mod gearman sta

Post by mrochelle »

Sure, attached is my " /etc/mod_gearman/mod_gearman_neb.conf ".
If you decide to recommend turning on the perfdata, give me some details on how to add a mod_gearman worker for the perfdata queue.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI 2014 RC2 Loss of perfdata when mod gearman sta

Post by scottwilkerson »

This is going to seem like some basic question, but:

Are checks continuing to be performed when you add mod_gearman to the configuration?

How many gearman workers do you have? Local workers or Remote?

Can you run the following from the console on the XI server and see post the results?

Code: Select all

gearman_top
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Nagios XI 2014 RC2 Loss of perfdata when mod gearman sta

Post by mrochelle »

No problem.
Yes, checks do continue after adding mod_gearman.
I have 3 remote and 1 local worker.
Attached, please find the mod_gearman output.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI 2014 RC2 Loss of perfdata when mod gearman sta

Post by scottwilkerson »

At this point I think we may need to see a configuration profile, could you open a ticket by emailing [email protected] and reference this thread.

One thing I will point out is that the makers of the mod_gearman addon for Nagios label it as "experimental" with Nagios Core 4. This is not an addon created by Nagios Enterprises...

Thanks.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Nagios XI 2014 RC2 Loss of perfdata when mod gearman sta

Post by mrochelle »

I have emailed the configuration profile. I'm optimistic, from what I have read about the Nagios XI 2014 release, it may no longer need the mod_gearman addon. I'm working on the capability of doing a test run of the production Nagios configuration with 2091 Hosts and 9006 services in the dev environment.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios XI 2014 RC2 Loss of perfdata when mod gearman sta

Post by slansing »

We would have great interest in seeing how your test goes in a larger production style set up! I am working with Tmcdonald on your new ticket, we will get this figured out!
Locked