Hello,
I have setup nagiosXI 2011R2.4 in a ESX version 4.1
I was taking daily backup of the machine.
Today, because ESX crashed, i restored the nagiosXI machine, with a backup that i took yesterday.
All seemed to work fine, until the moment that i tried to add a new host.
I added the host, i applied the conf, which was saved successfully, but then i had a message at Sync Status of host "out of sync".
Despite that message, notifications for that host are working correctly.
Moreover i have the same issue whenever i try to make a change at a host or service.
How can i solve that issue?
P.S. date and system clock were configured correctly after restore, so they have the correct time.
John
out of sync
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: out of sync
Try going to Configure -> Core Config Manager -> Apply Configuration
Then click Apply Configuration
Then click Apply Configuration
Re: out of sync
Hello scottwilkerson,
thank you for replying.
i tried it, but unfortunately it didn't solve the issue.
i am open to any other advise.
John
thank you for replying.
i tried it, but unfortunately it didn't solve the issue.
i am open to any other advise.
John
Re: out of sync
1. Do you have the proper timezone specified in the "/etc/php.ini" file?
Under "Module Settings" [Date], edit the line that says:
Restart apache:
2. Can you actually apply configuration successfully or you encounter some errors? Try running the Write Config Tool to verify your configuration. To see how to do this, please, review this document:
http://assets.nagios.com/downloads/nagi ... tabase.pdf
Code: Select all
vi /etc/php.iniCode: Select all
date.timezone = Code: Select all
service httpd restarthttp://assets.nagios.com/downloads/nagi ... tabase.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: out of sync
You may want to try the fixing global permissions script and then do the above again.
http://library.nagios.com/library/produ ... -nagios-xi
When you do the Apply configuration does it say it is successful?
http://library.nagios.com/library/produ ... -nagios-xi
When you do the Apply configuration does it say it is successful?
Re: out of sync
Hello
From "Nagios XI Installation Profile" i saw that PHP time is 2 hours behind local time
PHP Timezone: Europe/London
PHP Time: Tue, 05 Jun 2012 17:28:24 +0100
System Time: Tue, 05 Jun 2012 19:28:24 +0300
I will try to change it as lmiltchev proposed and i will inform you about the result.
thank you
John
From "Nagios XI Installation Profile" i saw that PHP time is 2 hours behind local time
PHP Timezone: Europe/London
PHP Time: Tue, 05 Jun 2012 17:28:24 +0100
System Time: Tue, 05 Jun 2012 19:28:24 +0300
I will try to change it as lmiltchev proposed and i will inform you about the result.
thank you
John
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: out of sync
Thanks, let us know if this fixes it.
Re: out of sync
Yes, it solved the issue.
Thank you both very much
John
Thank you both very much
John