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.
Click Apply Configuration but it still shows "Not Applied"
Re: Click Apply Configuration but it still shows "Not Applie
Former Nagios Employee
Re: Click Apply Configuration but it still shows "Not Applie
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.
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.
Re: Click Apply Configuration but it still shows "Not Applie
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!
Re: Click Apply Configuration but it still shows "Not Applie
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
Re: Click Apply Configuration but it still shows "Not Applie
I am good. Please mark this issue as resolved. Thanks again!
Re: Click Apply Configuration but it still shows "Not Applie
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!