Click Apply Configuration but it still shows "Not Applied"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Click Apply Configuration but it still shows "Not Applie

Post by rkennedy »

This explains the issue, it looks like your system time is set to UTC, your PHP time is set to EST (America/New_York), and it's hard to say what SQL is set to. Our standard install does not install SQL to /opt/app/mysql/ - you may want to consult whoever set it up, to check what the SQL time is set to. A simple select now(); will allow you to see what time this is currently set to.

Once you get all three of these on the same page, it should work as expected.
Former Nagios Employee
xlin125
Posts: 172
Joined: Mon Jan 19, 2015 6:01 pm

Re: Click Apply Configuration but it still shows "Not Applie

Post by xlin125 »

How can I change/set the PHP time to UTC time since the system uses UTC time? In another word, can I edit /etc/php.ini to change the setting in data.timezone from date.timezone = US/Eastern to date.timezone = UTC?

I noticed that on a system, the status changed from "Not Applied" to "Applied" for the new service without running Apply Configuration again after sometimes.
xlin125
Posts: 172
Joined: Mon Jan 19, 2015 6:01 pm

Re: Click Apply Configuration but it still shows "Not Applie

Post by xlin125 »

I did a test on another Nagios XI server by editing the /etc/php.ini to change the setting in data.timezone from date.timezone = US/Eastern to date.timezone = UTC. It works. Thanks for the help and support!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Click Apply Configuration but it still shows "Not Applie

Post by rkennedy »

Yep - that's the solution. Glad to hear it worked! Do you have any final questions or are we good to mark this thread resolved?
Former Nagios Employee
xlin125
Posts: 172
Joined: Mon Jan 19, 2015 6:01 pm

Re: Click Apply Configuration but it still shows "Not Applie

Post by xlin125 »

I am good. Please mark this issue as resolved. Thanks again!
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Click Apply Configuration but it still shows "Not Applie

Post by bwallace »

You're welcome -- Glad to hear this is resolved and I'll lock this thread now.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked