Last change of configuration file

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
aels
Posts: 19
Joined: Tue Jul 27, 2010 6:07 pm

Last change of configuration file

Post by aels »

Hi,
I just upgraded to the new version today (2009r1.4b) - and am sitting with a strange date issue.

In a few places on the web site it keeps stating the date is old.

Example when I apply configuration I get:

....
Last database update: 2011-02-18 14:34:43
Last change of the configuration file: 2011-02-18 02:11:24

Warning: configuration file is out of date!
......

This does not make sense.
The current system date is
# date
Fri Feb 18 15:11:42 NZDT 2011

So I am guessing Nagios is getting the date in a different time zone or format.
I am trying to get all configuration up to date, but I keep getting the configuration file is out of date when applying configuration.

I can "Write Config Files" fine without any issues under the "Tools" side menu, but if I try and update the service templates I keep getting Warning: configuration file is out of date!

I have checked the file permissions and all seem fine no issues there.

This is frustrating, so any help would be greatly appreciated.

Cheers
Anton
aels
Posts: 19
Joined: Tue Jul 27, 2010 6:07 pm

Re: Last change of configuration file

Post by aels »

Hi,
Another issue that started following the update is that if I update services, apply the configuration, the sync status is still "Out of Sync" after I apply the changes.
I can see the service is being monitored etc, but the "Out of Sync" status does not go away.
Any ideas? I have almost 700 service checks with a lot more to add over next two weeks, but need to get these sorted as soon as possible.
Cheers
Anton
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Last change of configuration file

Post by rdedon »

We are going to be doing some investigating on this today as it seems there may be a few people experiencing a similar issue.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Last change of configuration file

Post by rdedon »

If you would like we can schedule a Remote Session to take a look at a few things and make the needed adjustments. I am available from 12:00PM-2:00PM and 3:30PM-4:30PM CST , or even next Monday if that is better for you. I will send a Private Message if you would like to do this with the information.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Last change of configuration file

Post by mguthrie »

You may also wants review our FAQs and see if any of these appear related to your issue:
http://support.nagios.com/wiki/index.ph ... n_Problems
aels
Posts: 19
Joined: Tue Jul 27, 2010 6:07 pm

Re: Last change of configuration file

Post by aels »

I will see what I can do regarding access for you.
Just noticed that the performance data is not loading into the graphs, the rrd databases are not being updated.....
Just lost 3 days performance data..... or can it be reloaded?
Busy working through logs and see if I can find out what is going on.
aels
Posts: 19
Joined: Tue Jul 27, 2010 6:07 pm

Re: Last change of configuration file

Post by aels »

npcd process was not running, restarted that now, looks like it might be loading all the performance data.
Will run for a while over 15K files in ../var/spool/perfdata/
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Last change of configuration file

Post by rdedon »

Okay, glad to see that it appears to be updating and definitely keep us in the loop on this either way, if you would, and we will work on a fix for future installations and updates.

Thanks!
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Last change of configuration file

Post by mguthrie »

Have you been able to get your CCM information to update correctly?

If not, try the CCM->Write Config Tool to manually write your DB info to the config files.
aels
Posts: 19
Joined: Tue Jul 27, 2010 6:07 pm

Re: Last change of configuration file

Post by aels »

Hi,
I am still having problems with the services/hosts configuration sync status showing up as "Out of Sync" when I apply the configuration.
Strange thing is I added a few extra service/host checks yesterday that is today stating sync status is "Synced", so there seem to be time delay.
It is as if the check updating this column is looking at GMT time and not the New Zealand time, NZDST.

I I update the Service Templates at the bottom I get:

Last database update: 2011-02-21 13:33:33
Last change of the configuration file: 2011-02-21 22:37:58

Current Date on Linux Nagios Host is:
# date
Tue Feb 22 11:38:44 NZDT 2011

I then goto the Tools->Write Config Files page:

Run all these without any errors:
- Check configuration files:
- Write monitoring data
- Write additional data
- Restart Nagios:

Now if I look at the Service Templates I click on apply changes and at the bottom I get:
Last database update: 2011-02-21 13:33:33
Last change of the configuration file: 2011-02-21 22:41:40

System date on Linux Server is:
date
Tue Feb 22 11:42:18 NZDT 2011

The services/hosts configuration sync status is still showing up as "Out of Sync" for new services/hosts created today.

Even though I am seeing this strange behavior, everything else seem to be working fine so far.
Locked