Page 2 of 2
Re: What should i do to make my workers do the checks?
Posted: Fri Feb 13, 2015 10:58 am
by tgriep
When the NagiosXI / Gearman server runs a check and that check is enabled to be sent to a Gearman worker, the worker will receive the check command from the Gearman server and run it locally.
So, the worker needs to have all of the plugins installed on it for any of the checks that it has to run.
Re: What should i do to make my workers do the checks?
Posted: Mon Feb 16, 2015 9:52 am
by litsupport.box
How can i get these plugins on the workers? via nagios core? or i've never done that.
Re: What should i do to make my workers do the checks?
Posted: Mon Feb 16, 2015 10:23 am
by tgriep
Below is the link for installing Nagios Core and the plugins. Follow through it but you can skip the Core section.
http://assets.nagios.com/downloads/nagi ... Source.pdf
Here is the link to the standard Nagios Core plugins. This will get you started but you may have to copy some of the plugins from the XI server to your worker server.
http://nagios-plugins.org/download/nagi ... 0.3.tar.gz
Re: What should i do to make my workers do the checks?
Posted: Wed Feb 18, 2015 5:13 am
by litsupport.box
Waiting till i get my ghost host problem resolved, before i can continue. I copied all scripts to workers with SCP in the meanwhile.
Re: What should i do to make my workers do the checks?
Posted: Wed Feb 18, 2015 10:25 am
by abrist
I highly suggest that you add all bandwidth, vmware, oracle, and any other checks required to run on the XI box (due to dependencies, or in the case of bandwidth checks - local rrds) to a servicegroup that gearman will be configured to *not* check as these checks will fail if checked through gearman due to extra requirements on the local system.
Re: What should i do to make my workers do the checks?
Posted: Wed Feb 18, 2015 10:34 am
by ssax
litsupport.box, can you give us an update on if you are still having issues?
Re: What should i do to make my workers do the checks?
Posted: Thu Feb 19, 2015 5:29 am
by litsupport.box
I've re installed the Nagios XI completely by deploying an OVF template from:
http://library.nagios.com/library/produ ... loads/main - installing mod gearman and reconfiguring the xi to my needs. Now everything works like a charm again.
I've copied all scripts from the master/job server ( /usr/local/nagios/libexec/ ) to the workers.
For now the workers do the checks as they should do. I'm not having any issues.
This topic can also close. Thank you.
Re: What should i do to make my workers do the checks?
Posted: Thu Feb 19, 2015 9:57 am
by ssax
Thanks for the update, I will be locking the topic, I'm glad that issues are resolved.