Page 1 of 1

Configurations not applying successfully

Posted: Mon Mar 10, 2014 9:04 am
by wiproltdwiv
Dear Team,
we have 1 nagios server and 1 database server, recently we modified one existing time period template which has been mapped to 7000 hosts & services. we are applying configuration for the new changes to take effect but the same is not happening. there is no error found when we are running pre-flight check command in Nagios Server. attached recent logs from both the servers are for your reference.

please help in this case and suggest to get the configuration applied successfully for time period templates.

Regards

Re: Configurations not applying successfully

Posted: Mon Mar 10, 2014 1:11 pm
by lmiltchev
Did the change actually apply (was written to the config)?

Code: Select all

cat /usr/local/nagios/etc/timeperiods.cfg

Re: Configurations not applying successfully

Posted: Tue Mar 11, 2014 2:57 am
by wiproltdwiv
No, modified changes have not been applied in below path. still issue remains the same.

cat /usr/local/nagios/etc/timeperiods.cfg

Re: Configurations not applying successfully

Posted: Tue Mar 11, 2014 10:45 am
by slansing
You were manually changing the config files? This will not work as during apply configuration / reconfigure, these are overwritten by why XI has in the database, and changes made via the CCM are applied.

Re: Configurations not applying successfully

Posted: Wed Mar 12, 2014 2:30 am
by wiproltdwiv
Hi, we are not manually changing the config files, we are modiying the time period template throug CCM only and then applying the configuration.
but configuration is not getting applied succesfully and the modified things are not reflecting in config files too.
please suggest, how to overcome the issue.

Re: Configurations not applying successfully

Posted: Wed Mar 12, 2014 11:40 am
by lmiltchev
You have a large install and it is possible that configuration doesn't apply because it's timing out. You can verify if you have any config errors by running the Write Config Tool (just in case), but I would recommend increasing the resource limits in the "/etc/php.ini" file (max_execution_time, and memory_limit). Can you run "./reconfigure_nagios.sh" successfully from the CLI?