SYNC MISSED

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
povachon
Posts: 44
Joined: Thu Apr 10, 2014 9:24 am
Contact:

SYNC MISSED

Post 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
You do not have the required permissions to view the files attached to this post.
Last edited by povachon on Wed Apr 23, 2014 8:00 am, edited 3 times in total.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: SYNC MISSED

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: SYNC MISSED

Post 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
Former Nagios employee
povachon
Posts: 44
Joined: Thu Apr 10, 2014 9:24 am
Contact:

Re: SYNC MISSED

Post by povachon »

Sync both timezone ! Solve my problem ! You can close this thread!

Many thx's
PO
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: SYNC MISSED

Post by slansing »

Great! Closed this thread and your ticket on this as well.
Locked