out of sync

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
idas
Posts: 14
Joined: Mon Oct 03, 2011 2:48 am

out of sync

Post by idas »

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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: out of sync

Post by scottwilkerson »

Try going to Configure -> Core Config Manager -> Apply Configuration

Then click Apply Configuration
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
idas
Posts: 14
Joined: Mon Oct 03, 2011 2:48 am

Re: out of sync

Post by idas »

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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: out of sync

Post by lmiltchev »

1. Do you have the proper timezone specified in the "/etc/php.ini" file?

Code: Select all

vi /etc/php.ini
Under "Module Settings" [Date], edit the line that says:

Code: Select all

date.timezone = 
Restart apache:

Code: Select all

service httpd restart
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
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

Post by scottwilkerson »

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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
idas
Posts: 14
Joined: Mon Oct 03, 2011 2:48 am

Re: out of sync

Post by idas »

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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: out of sync

Post by scottwilkerson »

Thanks, let us know if this fixes it.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
idas
Posts: 14
Joined: Mon Oct 03, 2011 2:48 am

Re: out of sync

Post by idas »

Yes, it solved the issue.
Thank you both very much

John
Locked