Mod_gearman with Nagios 2014

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rafaelvdberg
Posts: 39
Joined: Fri Aug 24, 2012 1:24 pm

Mod_gearman with Nagios 2014

Post by rafaelvdberg »

I'm looking at integrating Mod Gearman with my Nagios XI 2014 installation.

I've looked at the "Integrating Mod_Gearman With Nagios XI" PDF and it says:
Note: This script is for installing Mod Gearman on a CentOS/RHEL versions 5 and 6. If you are using the Nagios XI 2014 beta, or
production release, or you are using Nagios Core 4, you will need to install based off the RPM's located here as the install script
currently does not provide for them:

https://github.com/sni/mod_gearman/tree/nagios4
However, that link does not work and goes to a 404 error.

Is this instruction old or is there a new link where I can install from?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Mod_gearman with Nagios 2014

Post by slansing »

Yep, that is old, you will want to follow this to install gearman on XI, then you can follow the rest of the steps to install the workers:

64-bit below, if you are on 32-bit let us know:

Code: Select all

cd /tmp
wget http://assets.nagios.com/downloads/mod_gearman/rpms/mod_gearman-1.5.0b1-1.el6.x86_64.rpm
yum localinstall --nogpgcheck mod_gearman-1.5.0b1-1.el6.x86_64.rpm
If you have a current version of gearman installed that you need to account for, let us know as well.
rafaelvdberg
Posts: 39
Joined: Fri Aug 24, 2012 1:24 pm

Re: Mod_gearman with Nagios 2014

Post by rafaelvdberg »

I tried installing this RPM using the instructions below and got the following:

Code: Select all

[root@mod-gearman1 tmp]# yum localinstall --nogpgcheck mod_gearman-1.5.0b1-1.el6.x86_64.rpm 
Loaded plugins: fastestmirror, security
Setting up Local Package Process
Examining mod_gearman-1.5.0b1-1.el6.x86_64.rpm: mod_gearman-1.5.0b1-1.el6.x86_64
Marking mod_gearman-1.5.0b1-1.el6.x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
 * base: mirrors.xmission.com
 * extras: mirror.web-ster.com
 * updates: repos.lax.quadranet.com
Resolving Dependencies
--> Running transaction check
---> Package mod_gearman.x86_64 0:1.5.0b1-1.el6 will be installed
--> Processing Dependency: gearmand for package: mod_gearman-1.5.0b1-1.el6.x86_64
--> Processing Dependency: libgearman.so.8()(64bit) for package: mod_gearman-1.5.0b1-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: mod_gearman-1.5.0b1-1.el6.x86_64 (/mod_gearman-1.5.0b1-1.el6.x86_64)
           Requires: libgearman.so.8()(64bit)
Error: Package: mod_gearman-1.5.0b1-1.el6.x86_64 (/mod_gearman-1.5.0b1-1.el6.x86_64)
           Requires: gearmand
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
I'm running CentOS release 6.6 (Final).
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Mod_gearman with Nagios 2014

Post by Box293 »

Can you please make sure you are reading the latest version of the PDF, as that broken github link was removed and correct links put in place.

http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked