Page 1 of 1

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

Posted: Wed Oct 15, 2014 9:35 pm
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

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

Posted: Thu Oct 16, 2014 6:41 am
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

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

Posted: Thu Oct 16, 2014 12:14 pm
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

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

Posted: Fri Oct 17, 2014 1:56 am
by Ivica Mustapic
Guys,

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

Cheers,
Ivica

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

Posted: Fri Oct 17, 2014 9:20 am
by tmcdonald
Sounds good! I'll be closing this thread now, but feel free to open another if you need anything in the future!