Page 1 of 1

Moving Nagios XI to new server, issues with Mod_Gearman

Posted: Tue Sep 24, 2019 11:21 am
by BollaertN
So I have Nagios XI on an older standalone server (running CentOS 6.9 and XI 5.4.13. My goal is to ultimately move to an Ubuntu server with the latest XI. However, in order to do the backup/restore method I first am installing 5.4.13 on a CentOS box so I can restore to there and upgrade it to a version of XI that will run on Ubuntu.

After doing the initial restore, Nagios wasn't functional as I guess Mod_Gearman was missing. On my production server I am still running Mod_Gearman2 and it looks like the Nagios XI help docs at

https://assets.nagios.com/downloads/nag ... ios_XI.pdf

are already setup assuming Mod_Gearman3?

Installed Mod_Gearman2 and copied over the module.conf and worker.conf from my production server to the interim box, but it still doesn't seem to work right. When I run gearman_top2 on my new server I don't see the queue I had created on production, and the default queues show 0 workers available so jobs waiting just keeps piling up.

What can I do to fix this?

Thanks!

Re: Moving Nagios XI to new server, issues with Mod_Gearman

Posted: Tue Sep 24, 2019 3:39 pm
by lmiltchev
First, you will need to comment out the mod gearman broker_module line in the /usr/local/nagios/etc/nagios.cfg file, and restart nagios, so that you stop using Mod Gearman, and restart nagios service:

Code: Select all

service nagios restart
Next, you will need to upgrade your Nagios XI to the latest.

After you make sure you XI works properly without Mod Gearman, you can follow the "Server/Worker Installation - Upgrade (2 => 3)" sections in the document you referenced, so that you can upgrade to version 3.