setup mod_gearman

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
shan123
Posts: 5
Joined: Mon Aug 29, 2016 4:49 pm

setup mod_gearman

Post by shan123 »

Hi

Currently we have only 2* instances of nagios core with distributed monitoring in place (using NSCA)
I am evaluating nagiosXi for out infrastructure monitoring. I have download the appliance (oVA) and got it UP and running..We are planning to use mod_gearman for distributed monitoring.
I have also installed gearman with type as server on my appliance

i have a question does gearman need to be installed only on existing system that has nagios core is up and running (with hostgroups,servvicegroups defined alreaddy ..?)..or it can be installed on a standalone system ?

pls clarify
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: setup mod_gearman

Post by Box293 »

Geaman needs to be installed on the Nagios Core or Nagios XI server.

Here are some Mod-Gearman guides:

https://support.nagios.com/kb/article.php?id=225
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.
shan123
Posts: 5
Joined: Mon Aug 29, 2016 4:49 pm

Re: setup mod_gearman

Post by shan123 »

Thanks for the quick response.

I still have doubt with the gearman configs.. i have configured gearman as "server" type and now its listening on 4730 (this is the same box as my appliance where nagiosxi also running )

my next step would be to install gearman with "worker" type on another nagios core system and specify the gearman server pointing to the appliance.

from the docs, i see that nagios core starts a service check, which is then passed to local gearman instance who actually checks the remote client and it passes the result back to gearman server (in this case its my appliance).
Appliace will grab the result and show it on the GUI ..?

is my understanding correct ?

pls correct if its wrong.
shan123
Posts: 5
Joined: Mon Aug 29, 2016 4:49 pm

Re: setup mod_gearman

Post by shan123 »

Thanks for the quick response..

I still have confusion with setting up mod_gearman..

i have installed gearman in "server" mode on my nagios xi appliance..
i have also installed gearman in "worker" mode on my existing nagios core...gearman server is pointing to appliance ip

my nagios core worker will need to be configured for specific hostgroup,service group to perform the checks and the result will be sent to gearman server which is my xi ?
gearman worker will still be performing actual checks on all of my nagios clients through nrpe ?

please reply if my understanding is clear.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: setup mod_gearman

Post by tmcdonald »

shan123 wrote: Appliace will grab the result and show it on the GUI ..?
This is correct. The result will display in the GUI just as if it had been run directly by Nagios instead of through a mod_gearman worker.

Also, please do not double-post. If you have not received a response outside of our office hours (M-Th 9A-5P, Friday 9A-2P, Central) please be patient and we will reply once we are back in the office.
Former Nagios employee
Locked