Page 1 of 1

Getting error after configuration of MOd-Gearman on NagiosXI

Posted: Wed Nov 27, 2019 10:07 am
by vinish098
Hi,

We have installed a ModGearman-worker on Worker node. While installing its asking for Nagios Prod IP. we have given the same. But after a few minutes, The Nagios Prod server showing the issue that more than 128 Hosts are in downstate and the value was fluctuating. So we have removed the Nagios Prod IP from the worker. Then it was working fine.

We have added the plugins in the worker nodes.

Pls, find the attached error screenshot.

Re: Getting error after configuration of MOd-Gearman on Nagi

Posted: Wed Nov 27, 2019 12:37 pm
by cdienger
Were the plugins copied over to the worker machine or were the compiled? Copying will not work for a lot of the plugins since they require compilation on the machine that they are going to run on.

Compilation is covered in https://support.nagios.com/kb/article/n ... e-569.html

Re: Getting error after configuration of MOd-Gearman on Nagi

Posted: Mon Dec 02, 2019 12:23 am
by vinish098
Hi,

We have compiled the plugins in the worker nodes. still its giving same error.

Re: Getting error after configuration of MOd-Gearman on Nagi

Posted: Mon Dec 02, 2019 3:58 pm
by cdienger
Where are they located on the modgearman worker system? XI expects them to be in /usr/local/nagios/libexec/ by default. Please provide the output of the following from the gearman worker system if that doesn't help resolve the issue:

Code: Select all

uname -a
file /usr/local/nagios/libexec/check_ping
su - nagios
/usr/local/nagios/libexec/check_ping -H 127.0.0.1 -w 1,2% -c 3,4%