Page 1 of 1

SYNC MISSED

Posted: Tue Apr 22, 2014 12:21 pm
by povachon
Is that normal that every entry i make end up with status : SYNC MISSED?

Regard
PO

Edit: Here my verification file :

Code: Select all

Nagios Core 3.5.0
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-15-2013
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/ABUS_VPN-1.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/ASL_VPN-1.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/BC_TEL_MIPU.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/BL_CISCO_WIFI.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/BC_VPN-1.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/BL_VPN-1.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/BC_LNK_Telebec.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/ASL_VPN-1.cfg'...
Processing object config file '/usr/local/nagios/etc/services/BC_TEL_MIPU.cfg'...
Processing object config file '/usr/local/nagios/etc/services/BC_VPN-1.cfg'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/services/BC_LNK_Telebec.cfg'...
Read object config files okay...

Running pre-flight check on configuration data...

Checking services...
Checked 12 services.
Checking hosts...
Checked 8 hosts.
Checking host groups...
Checked 16 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 2 contacts.
Checking contact groups...
Checked 2 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 108 commands.
Checking time periods...
Checked 8 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check

There you go ! IT seem to be the problem ! I have fallow the guide to change the timezone and everything.

[root@nagios ~]# grep "date.timezone" /etc/php.ini
; http://www.php.net/manual/en/datetime.c ... e.timezone
date.timezone =Canada/Eastern
[root@nagios ~]# php -r 'echo date("D M j G:i:s T Y")."\n";'
Wed Apr 23 8:30:43 EDT 2014
[root@nagios ~]# date
Wed Apr 23 12:30:44 UTC 2014
[root@nagios ~]

Regard
PO

Re: SYNC MISSED

Posted: Tue Apr 22, 2014 1:10 pm
by slansing
You will need to apply configuration to sync the configurations with the database. Please edit your previous post when adding more information if you are the last poster to reduce clutter.

Re: SYNC MISSED

Posted: Tue Apr 22, 2014 1:12 pm
by tmcdonald
Two things:

1.) Are you actually applying config?

2.) Are your system time and PHP time synced up? Run the following and post the output:

Code: Select all

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

Re: SYNC MISSED

Posted: Wed Apr 23, 2014 8:00 am
by povachon
Sync both timezone ! Solve my problem ! You can close this thread!

Many thx's
PO

Re: SYNC MISSED

Posted: Wed Apr 23, 2014 9:12 am
by slansing
Great! Closed this thread and your ticket on this as well.