Page 2 of 2
Re: Click Apply Configuration but it still shows "Not Applie
Posted: Thu Dec 22, 2016 5:40 pm
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.
Re: Click Apply Configuration but it still shows "Not Applie
Posted: Thu Dec 22, 2016 6:04 pm
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.
Re: Click Apply Configuration but it still shows "Not Applie
Posted: Fri Dec 23, 2016 11:59 am
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!
Re: Click Apply Configuration but it still shows "Not Applie
Posted: Tue Dec 27, 2016 10:08 am
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?
Re: Click Apply Configuration but it still shows "Not Applie
Posted: Tue Jan 10, 2017 4:47 pm
by xlin125
I am good. Please mark this issue as resolved. Thanks again!
Re: Click Apply Configuration but it still shows "Not Applie
Posted: Tue Jan 10, 2017 5:56 pm
by bwallace
You're welcome -- Glad to hear this is resolved and I'll lock this thread now.