Page 1 of 1

gearman worker config

Posted: Mon Aug 15, 2016 3:05 pm
by bosecorp
Hi,

I'm trying to install gearman and worker on same RHEL7 host.

I followed the process mentioned in https://assets.nagios.com/downloads/nag ... ios_XI.pdf

After that i can not see any checks or files under /usr/local/nagios/*

Is there any additional step to have those checks installed on the gearman server ?

Currently this is what i see in gearman_top2 output

Code: Select all

2016-08-15 16:05:01  -  localhost:4730  -  v0.33

 Queue Name                | Worker Available | Jobs Waiting | Jobs Running
----------------------------------------------------------------------------
 eventhandler              |               0  |           0  |           0
 host                      |               0  |           0  |           0
 hostgroup_gearman_sb      |              20  |           0  |           0
 service                   |               0  |           0  |           0
 worker_gearmansb          |               1  |           0  |           0
 worker_gearmansb.bose.com |               0  |           0  |           0
----------------------------------------------------------------------------

Re: gearman worker config

Posted: Mon Aug 15, 2016 4:20 pm
by ssax
You will need to compile the nagios plugins on the worker and copy over any additional ones you need that don't require compiling. However, I would just install the Linux agent (since you'll want to monitor the server anyways) and it will take care of 99% of them:

https://assets.nagios.com/downloads/nag ... _Agent.pdf

Re: gearman worker config

Posted: Mon Aug 15, 2016 4:25 pm
by bosecorp
I have copied the nagios directory from another gearmand server, and ran some basic checks which worked.

Added the new gearmand as hostgroup from CCM.

Now i integrate the new gearmand server to our existing nagiosXI server, so that the service and host checks are performed by the new gearmand server.
I know that i may need to update the neb file mod_gearman_neb.conf.

Can you please guide me through this process.

Re: gearman worker config

Posted: Tue Aug 16, 2016 11:33 am
by tmcdonald
Please post your current mod_gearman_neb.conf contents either by uploading the file here or by pasting the contents within [/icode] tags.

Re: gearman worker config

Posted: Wed Aug 17, 2016 4:55 pm
by Box293
bosecorp wrote:I have copied the nagios directory from another gearmand server, and ran some basic checks which worked.

Added the new gearmand as hostgroup from CCM.

Now i integrate the new gearmand server to our existing nagiosXI server, so that the service and host checks are performed by the new gearmand server.
I know that i may need to update the neb file mod_gearman_neb.conf.

Can you please guide me through this process.
Have you seen this guide:

https://support.nagios.com/kb/article.php?id=484