Page 1 of 1

XI Post Upgrade (5.2.2) Monitoring Engine (nagios) problems

Posted: Wed Nov 18, 2015 6:15 pm
by larrydhelms
I've begun my upgrade process (e.g. upgrade a development instance first... )

After upgrading my first instance - basically as a dry-run - from Nagios XI 2012R2.9 -> Nagios XI 5.2.2 ... the Monitoring Engine process (/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg) does NOT stay up (in daemon mode).... So therefore, no checking is getting done.

It does one of two things...

1. Starts... and then EXITS with NO indication of having stopped.
2. Starts... and then EXITS with Caught SIGSEGV, Shutting down...

DEBUGGING is enabled in the nagios.cfg file... but nothing gets written to nagios.debug

I do have mod_gearman (gearmand, mod_gearman_worker) as well as check_mk and mk-livestatus installed. I can supply any/all config files if necessary.

Please advise.

Re: XI Post Upgrade (5.2.2) Monitoring Engine (nagios) probl

Posted: Wed Nov 18, 2015 7:00 pm
by Box293
Mod Gearman version are going to need to be upgraded:

Refer to the XI 2014 steps in this document:
https://assets.nagios.com/downloads/nag ... ios_XI.pdf

I also believe the check_mk broker will need to be updated as well. We don't have any documentation on that.

Re: XI Post Upgrade (5.2.2) Monitoring Engine (nagios) probl

Posted: Wed Nov 18, 2015 7:05 pm
by larrydhelms
I have already upgraded... mod_gearman (gearmand & mod_gearman_worker) as well as check_mk, mk-livestatus.

Any other ideas?

Re: XI Post Upgrade (5.2.2) Monitoring Engine (nagios) probl

Posted: Wed Nov 18, 2015 7:27 pm
by Box293
I would start off by disabling the mod gearman and check_mk modules in nagios.cfg first.

If nagios starts OK then enable one of the modules and restart.

Once nagios fails you'll know which module is causing issues.

Re: XI Post Upgrade (5.2.2) Monitoring Engine (nagios) probl

Posted: Wed Nov 18, 2015 8:55 pm
by larrydhelms
Per your suggestion... I tried that. It appears to be mod_gearman that causes the problem. When I disabled both... checks began to work. When I enabled mk-livestatus... checks continued to work. I then disabled mk-livestatus and enabled mod_gearman... and WHAM : Caught SIGSEGV, shutting down...

So... I RE-EXECUTED the instructions near the bottom of Page 2... onto Page 3 of the Integrating_Mod_Gearman_with_Nagios_XI.pdf mentioned below (e.g. remove gearman and re-install it)... and that appeard to have solved my problem... However... once I restored MY mod_gearman config files (which are VERY LARGE - we have a VERY LARGE number of hostgroups and servicegroups)... I get the SIGSEGV issue. I'm going to try to re-work the gearman config files.

Thanks for your help.

This issue can now be closed.

Re: XI Post Upgrade (5.2.2) Monitoring Engine (nagios) probl

Posted: Thu Nov 19, 2015 11:32 am
by rkennedy
I will now close this thread out, if you need help in the future feel free to open another one.