Page 1 of 1

Mod-Gearman Checks

Posted: Fri Oct 25, 2013 9:38 am
by anoop
Hi Team,

We configured Mod-Gearman in Nagios XI Server and maintained one local worker and one remote worker. So, we configured Remote Worker Server with 8GB RAM, 8 Cores and 50GB HDD to check the VMware devices where we have nearly 2000 services.

Configured the Mod-Gearman worker file like

server : given Nagios XI IP
hosts: NO
Services: NO
event handlers: NO
hostgroups: VPS ( name of vmware group )

key : given same as server key for encryption.


Issue we are facing is:

in remote worker log file, the output showing as "127 out of bounds"

Please let us know, whether we need to install perl-SDK plugins for VMWare in the remote-worker ..??? ( check_esx3.pl)

Re: Mod-Gearman Checks

Posted: Fri Oct 25, 2013 2:01 pm
by slansing
Can you show us the full permissions on that plugin?

Code: Select all

ll -la /usr/local/nagios/libexec/check_esx3.pl

Re: Mod-Gearman Checks

Posted: Fri Oct 25, 2013 5:36 pm
by anoop
Hi Team,

Please check the attached screenshot for check_esx3.pl permission.

and log message output from nagiosxi server and service check result of hostgroup which was handled by worker.

Its showing "return code of 127 is out of bound, Make sure the plugin you're trying to run actually exists.

Re: Mod-Gearman Checks

Posted: Mon Oct 28, 2013 12:57 pm
by slansing
Do the plugins all reside under the same path for the worker system? If not the worker cannot find them and would throw the above error.

Re: Mod-Gearman Checks

Posted: Wed Nov 06, 2013 7:11 am
by anoop
Hi team,

Thanks now its working fine, we did not copied check_esx3.pl plugin on worker system, after copying in worker system we got output.