Nagios upgrade from 2012R2.9 to 2014R1.5

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Ivica Mustapic
Posts: 31
Joined: Thu Jun 13, 2013 1:06 am

Nagios upgrade from 2012R2.9 to 2014R1.5

Post by Ivica Mustapic »

After fixing a bunch of configuration isuess with this upgrade process, I am now having an error without a file being indicated:

===============================================================
(10:24 AM)-> /usr/local/nagios/bin/nagios -vv /usr/local/nagios/etc/nagios.cfg

Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/wescef.cfg'...
.... 820 lines deleted as they have no errrors....
Processing object config file '/usr/local/nagios/etc/services/sys_check_kwi_lun23.cfg'...
Processing object config file '/usr/local/nagios/etc/services/nsc_check_web_netstat.cfg'...
Error processing object config files!


***> One or more problems was encountered while processing the config files...
===============================================================

What would be the best way to find out why Nagios is stuck?

Cheers,
Ivica
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios upgrade from 2012R2.9 to 2014R1.5

Post by lmiltchev »

If you do not see any descriptive errors, you may have issues with escalations or service/host dependencies. You will most likely want to de-activate these definitions until the upgrade is complete.

Read more about config errors during the upgrade to 2014 here:

http://support.nagios.com/wiki/index.ph ... 14_Upgrade
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios upgrade from 2012R2.9 to 2014R1.5

Post by Box293 »

Also try the following from the command line as it may output more information:

Code: Select all

/usr/local/nagios/bin/nagios -vvv /usr/local/nagios/etc/nagios.cfg
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Ivica Mustapic
Posts: 31
Joined: Thu Jun 13, 2013 1:06 am

Re: Nagios upgrade from 2012R2.9 to 2014R1.5

Post by Ivica Mustapic »

Guys,

Thanks for your input. Disabling Host Escalations and Service Escalations has solved my problem.

Cheers,
Ivica
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios upgrade from 2012R2.9 to 2014R1.5

Post by tmcdonald »

Sounds good! I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked