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)
Mod-Gearman Checks
Mod-Gearman Checks
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.
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
Can you show us the full permissions on that plugin?
Code: Select all
ll -la /usr/local/nagios/libexec/check_esx3.plRe: Mod-Gearman Checks
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.
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.
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
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
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.
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.
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.