Mod-Gearman Checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
anoop
Posts: 95
Joined: Tue Jun 25, 2013 1:22 am

Mod-Gearman Checks

Post 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)
System:
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Mod-Gearman Checks

Post by slansing »

Can you show us the full permissions on that plugin?

Code: Select all

ll -la /usr/local/nagios/libexec/check_esx3.pl
anoop
Posts: 95
Joined: Tue Jun 25, 2013 1:22 am

Re: Mod-Gearman Checks

Post 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.
You do not have the required permissions to view the files attached to this post.
System:
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Mod-Gearman Checks

Post 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.
anoop
Posts: 95
Joined: Tue Jun 25, 2013 1:22 am

Re: Mod-Gearman Checks

Post 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.
System:
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
Locked