Nagios XI / Mod-Gearman worker install question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kwarshaw
Posts: 4
Joined: Fri Sep 20, 2013 3:07 pm

Nagios XI / Mod-Gearman worker install question

Post by kwarshaw »

We are looking to integrate Mod-Gearman into our current Nagios XI environment. I've setup and configured the server portion of Mod-Gearman on our current Nagios XI host with no issues. Now we need to setup the Mod-Gearman worker, which will exist in a different physical location than the Nagios XI /MG server.

What I'm unclear on is this - does the MG worker installation have to be done on a system with Nagios XI already installed? Or can it be done on just a base CentOS (or other Linux OS) install? The Nagios documentation that I'm using: https://assets.nagios.com/downloads/nag ... ios_XI.pdf doesn't seem to be clear on that point (at least in my interpretation). If the MG worker can be installed on a base CentOS system can anyone provide documentation on how to accomplish that?

Thanks in advance.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios XI / Mod-Gearman worker install question

Post by cdienger »

It can be installed on just a base install of CentOS. See the "worker installation" section:

Code: Select all

cd /tmp
wget https://assets.nagios.com/downloads/nagiosxi/scripts/ModGearmanInstall.sh 
chmod +x ModGearmanInstall.sh
./ModGearmanInstall.sh --type=worker
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kwarshaw
Posts: 4
Joined: Fri Sep 20, 2013 3:07 pm

Re: Nagios XI / Mod-Gearman worker install question

Post by kwarshaw »

Thanks for the reply. That's actually the first thing I tried, but it doesn't work for me. Here's what I get when I run the Mod-Gearman worker install script on a fresh CentOS installation with nothing installed other than OS updates:

--Verifying nagios repo is installed...CentOS-8 - AppStream 668 kB/s | 5.6 MB 00:08
--CentOS-8 - Base 968 kB/s | 5.3 MB 00:05
--CentOS-8 - Extras 1.1 kB/s | 2.1 kB 00:01
--not installed.
--ERROR: Please install the nagios repo with this command: rpm -Uvh https://repo.nagios.com/nagios/8/nagios ... noarch.rpm

When I attempt to run the Nagios repo install as noted in the error message I get this:
--Retrieving https://repo.nagios.com/nagios/8/nagios ... noarch.rpm
--curl: (22) The requested URL returned error: 404 Not Found
--error: skipping https://repo.nagios.com/nagios/8/nagios ... noarch.rpm - transfer failed

So I installed the only Nagios repo version close to that I can find, which is here: https://repo.nagios.com/nagios/8/nagios ... noarch.rpm. That install seemed to go ok... , so I ran the Mod-Gearman worker install once more and now I'm getting this:

--Verifying nagios repo is installed...Last metadata expiration check: 0:04:19 ago on Wed 09 Oct 2019 04:30:59 PM EDT.
--ok
--*******************************************************************************

-- Installing the packages...
--Error:
-- Problem 1: conflicting requests
-- - nothing provides libboost_program_options-mt.so.1.53.0()(64bit) needed by gearmand-1:0.33-7.x86_64
-- - nothing provides libboost_system.so.1.53.0()(64bit) needed by gearmand-1:0.33-7.x86_64
-- Problem 2: cannot install the best candidate for the job
-- - nothing provides libperl.so()(64bit) needed by mod_gearman-3.0.7-1.el7.x86_64
-- Problem 3: package gearmand-devel-1:0.33-7.x86_64 requires libgearman.so.6()(64bit), but none of the providers can be installed
-- - package gearmand-devel-1:0.33-7.x86_64 requires gearmand = 1:0.33-7, but none of the providers can be installed
-- - conflicting requests
-- - nothing provides libboost_program_options-mt.so.1.53.0()(64bit) needed by gearmand-1:0.33-7.x86_64
-- - nothing provides libboost_system.so.1.53.0()(64bit) needed by gearmand-1:0.33-7.x86_64

--*******************************************************************************
--ERROR
--Unable to install packages. Please see the errors above.

--To see usage, run ./ModGearmanInstall.sh --help

So I'm obviously missing something.

Thanks.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI / Mod-Gearman worker install question

Post by scottwilkerson »

Sorry, CentOS 8 support is not available yet
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
kwarshaw
Posts: 4
Joined: Fri Sep 20, 2013 3:07 pm

Re: Nagios XI / Mod-Gearman worker install question

Post by kwarshaw »

Well that would explain a lot! Thanks.

I'll drop back to CentOS 7 and will post an update later.

Thanks for the replies.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI / Mod-Gearman worker install question

Post by scottwilkerson »

kwarshaw wrote:Well that would explain a lot! Thanks.

I'll drop back to CentOS 7 and will post an update later.

Thanks for the replies.
Sounds good!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
kwarshaw
Posts: 4
Joined: Fri Sep 20, 2013 3:07 pm

Re: Nagios XI / Mod-Gearman worker install question

Post by kwarshaw »

Success. Dropping back to CentOS 7 allowed me to install Mod-Gearman on a base CentOS build with nothing other than the Nagios repo. Thanks to everyone that posted.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI / Mod-Gearman worker install question

Post by scottwilkerson »

kwarshaw wrote:Success. Dropping back to CentOS 7 allowed me to install Mod-Gearman on a base CentOS build with nothing other than the Nagios repo. Thanks to everyone that posted.
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked