Page 1 of 1

Error on time periods after upgrade to nagiox xi 2014R1.0

Posted: Tue May 20, 2014 4:37 pm
by rramos
Hello all, after upgrade from Nagios XI 2012 to Nagios XI 2014R1.0 I faced the error Error: The timeperiods '24x7' and '24x7' form or lead into a circular exclusion chain! when try to Apply Configuration. Have you already faced this issue before ?

Re: Error on time periods after upgrade to nagiox xi 2014R1.

Posted: Tue May 20, 2014 5:11 pm
by slansing
Where does your configuration verification show this error occurring?:

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Re: Error on time periods after upgrade to nagiox xi 2014R1.

Posted: Tue May 20, 2014 5:28 pm
by rramos
Follow the error message, it complains about Time Periods.

Error: Could not add object property in file '/usr/local/nagios/etc/timeperiods.cfg' on line 221


Complete output


Nagios Core 4.0.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 04-11-2014
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Warning: use_embedded_perl_implicitly is deprecated and will be removed.
Warning: sleep_time is deprecated and will be removed.
Warning: p1_file is deprecated and will be removed.
Warning: external_command_buffer_slots is deprecated and will be removed. All commands are always processed upon arrival
Warning: enable_embedded_perl is deprecated and will be removed.
Warning: command_check_interval is deprecated and will be removed. Commands are always handled on arrival
Read main config file okay...
Warning: Duplicate definition found for timeperiod 'xi_timeperiod_24x7' (config file '/usr/local/nagios/etc/timeperiods.cfg', starting on line 220)
Error: Could not add object property in file '/usr/local/nagios/etc/timeperiods.cfg' on line 221.
Error processing object config files!


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

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.

Re: Error on time periods after upgrade to nagiox xi 2014R1.

Posted: Wed May 21, 2014 12:27 pm
by lmiltchev
What do you have in '/usr/local/nagios/etc/timeperiods.cfg' on line 221? You need to fix the error in the CCM, run the Write Config Tool to make sure you don't have any more errors, then apply configuration.