Apply config is successful, but prompt still there

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
andrewatmacys
Posts: 114
Joined: Tue Feb 06, 2018 9:25 am

Apply config is successful, but prompt still there

Post by andrewatmacys »

Whenever I apply the config on my installation of Nagios XI through the UI, it applies successfully but the prompt to apply the config remains whenever I navigate to a new page or log back in, even when a config is not being updated. What could be causing this? as far as I know, it isn't causing any problems but I want to make sure that it isn't doing something wrong behind the scenes.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Apply config is successful, but prompt still there

Post by benjaminsmith »

Hi @Andrew,

Sometimes if the time and time/zone settings are not in sync between the server and php you can have issues when applying configuration. Let's verify the time settings ( see reference below), and then apply configuration and capture the log output to review any errors.

1. Run the following to check the time settings.

Code: Select all

grep "date.timezone" /etc/php.ini
ls -l /etc/localtime
php -r 'echo date("D M j G:i:s T Y")."\n";' 
date 
echo "SELECT NOW();" | mysql -u root -pnagiosxi
2. Tail the log file

Code: Select all

tail -f /usr/local/nagiosxi/var/cmdsubsys.log
3. Next Go to Configure, CCM -> Tools -> Config File Management
Click Delete Files
Write Configs
Verify Files

Then Apply Configuration and post the output of the log for us to review. Thanks.

Reference
Changing the System Time
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
andrewatmacys
Posts: 114
Joined: Tue Feb 06, 2018 9:25 am

Re: Apply config is successful, but prompt still there

Post by andrewatmacys »

I don't have root access, but did the remaining parts in the meantime while I get someone to help with that.

It seems to have worked, at least right now. I can still post the log, but it's got a lot of info that I don't believe is necessarily related to the problem.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Apply config is successful, but prompt still there

Post by benjaminsmith »

Hi Andrew,
It seems to have worked, at least right now. I can still post the log, but it's got a lot of info that I don't believe is necessarily related to the problem.
Ok. Just give us an update if you experience any issues.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
andrewatmacys
Posts: 114
Joined: Tue Feb 06, 2018 9:25 am

Re: Apply config is successful, but prompt still there

Post by andrewatmacys »

Thanks! And will do!
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Apply config is successful, but prompt still there

Post by benjaminsmith »

Sounds good.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked