gearman worker config

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

gearman worker config

Post 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
----------------------------------------------------------------------------
Last edited by tmcdonald on Tue Aug 16, 2016 11:30 am, edited 1 time in total.
Reason: Please use [code][/code] tags around terminal output
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: gearman worker config

Post 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
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: gearman worker config

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: gearman worker config

Post 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.
Former Nagios employee
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: gearman worker config

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked