Configurations not applying successfully

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Configurations not applying successfully

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Configurations not applying successfully

Post by lmiltchev »

Did the change actually apply (was written to the config)?

Code: Select all

cat /usr/local/nagios/etc/timeperiods.cfg
Be sure to check out our Knowledgebase for helpful articles and solutions!
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: Configurations not applying successfully

Post by wiproltdwiv »

No, modified changes have not been applied in below path. still issue remains the same.

cat /usr/local/nagios/etc/timeperiods.cfg
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Configurations not applying successfully

Post 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.
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: Configurations not applying successfully

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Configurations not applying successfully

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked