Page 1 of 1
Mod_gearman with Nagios 2014
Posted: Thu Sep 04, 2014 4:49 pm
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?
Re: Mod_gearman with Nagios 2014
Posted: Thu Sep 04, 2014 4:52 pm
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.
Re: Mod_gearman with Nagios 2014
Posted: Wed Oct 29, 2014 6:29 pm
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).
Re: Mod_gearman with Nagios 2014
Posted: Wed Oct 29, 2014 6:39 pm
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