Page 1 of 1

Nagios XI 2014 RC2 Loss of perfdata when mod gearman started

Posted: Mon Apr 28, 2014 9:53 am
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. :(

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

Posted: Mon Apr 28, 2014 10:14 am
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.

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

Posted: Mon Apr 28, 2014 10:27 am
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.

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

Posted: Mon Apr 28, 2014 12:47 pm
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

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

Posted: Mon Apr 28, 2014 1:33 pm
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.

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

Posted: Mon Apr 28, 2014 2:29 pm
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.

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

Posted: Mon Apr 28, 2014 3:23 pm
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.

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

Posted: Mon Apr 28, 2014 4:49 pm
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!