Page 1 of 1

"sync missed" for a service

Posted: Wed Apr 30, 2014 12:35 am
by soniah
Linux Distribution and version? CentOS release 6.4 (Final)
32 or 64bit? 64
VMware Image or Manual Install of XI? XI install script
Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? NO


One of my services has "sync missed" against it. I've made changes to the service and I've noticed that the changes aren't sticking, so it's causing problems. I've searched this forum for possible solutions but I'm not getting anywhere...
total_procs.png
Steps I've taken:

* run the following scripts:

Code: Select all

cd /usr/local/nagiosxi/scripts
./repairmysql.sh nagios
./repairmysql.sh nagiosql
./reset_config_perms
* CCM -> Services - Apply Configuration (no errors appear)

* Tools -> Write Config Files -> Write, Verify, Restart (no errors appear)

Any pointers? Thanks, Sonia.

Re: "sync missed" for a service

Posted: Wed Apr 30, 2014 9:22 am
by tmcdonald
Having your system time and your PHP out of sync can cause this. You should be able to run

grep "date.timezone" /etc/php.ini
php -r 'echo date("D M j G:i:s T Y")."\n";'
date

to get a good idea if your time settings are matching up or not.

Is the service config still getting updated?

Re: "sync missed" for a service

Posted: Wed May 07, 2014 12:16 am
by soniah
Solved - needed to fix up timezone issues, as documented in http://assets.nagios.com/downloads/nagi ... m_Time.pdf

One issue I discovered with timezones and XI - a reboot is often required to get times to display correctly in XI interface (eg "Last Check" time).