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
Configurations not applying successfully
-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Configurations not applying successfully
You do not have the required permissions to view the files attached to this post.
Re: Configurations not applying successfully
Did the change actually apply (was written to the config)?
Code: Select all
cat /usr/local/nagios/etc/timeperiods.cfgBe 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
No, modified changes have not been applied in below path. still issue remains the same.
cat /usr/local/nagios/etc/timeperiods.cfg
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
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
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.
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
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!