What should i do to make my workers do the checks?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: What should i do to make my workers do the checks?

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
litsupport.box
Posts: 80
Joined: Wed Apr 02, 2014 7:24 am

Re: What should i do to make my workers do the checks?

Post by litsupport.box »

How can i get these plugins on the workers? via nagios core? or i've never done that.
Nagios XI Version : 2014R2.6
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: What should i do to make my workers do the checks?

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
litsupport.box
Posts: 80
Joined: Wed Apr 02, 2014 7:24 am

Re: What should i do to make my workers do the checks?

Post 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.
Nagios XI Version : 2014R2.6
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: What should i do to make my workers do the checks?

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: What should i do to make my workers do the checks?

Post by ssax »

litsupport.box, can you give us an update on if you are still having issues?
litsupport.box
Posts: 80
Joined: Wed Apr 02, 2014 7:24 am

Re: What should i do to make my workers do the checks?

Post 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.
Nagios XI Version : 2014R2.6
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: What should i do to make my workers do the checks?

Post by ssax »

Thanks for the update, I will be locking the topic, I'm glad that issues are resolved.
Locked