Warning: configuration file is out of date!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Warning: configuration file is out of date!

Post by SDohmen »

Hello,

While setting up a Nagios XI production environment i came across a strange error. For the install i used CentOS 5 (tried 5.6 and 6 aswell). When i install Nagios XI all seems to go fine and i can login just as fine aswell. However when i go to the unconfigured objects and i try to add any host/service it just doesn't do anything (distributed environment with nrpd). I can click the add button and follow the wizard but after the reloading the host/service isn't added. Also when i try to manual add a host it wont work. For some reason i always get the message Warning: configuration file is out of date!.

According to some other post i should check my php.ini file for the time zone which is correctly set.

The strange thing is that this worked fine on my test environment last week which was precise the same install (except for the partitioning).

Does anyone know what this problem can be or how i can solve it?
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Warning: configuration file is out of date!

Post by agriffin »

Can you verify your configuration? In the Core Config Manager under Tools there should be a link to 'Write Config Files'. From there you should be able to hit 'Check configuration files' and see if any errors come up.
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: Warning: configuration file is out of date!

Post by SDohmen »

I tried the verify and write config. Both work fine and without problems. What i do notice is when i use the write config the stuff i added before is really added (had it with some hostgroups where i got the error).
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Warning: configuration file is out of date!

Post by mguthrie »

(had it with some hostgroups where i got the error).
Can you elaborate on this a little bit more?


And then can you attempt to run the run the wizard again, but before you
complete the final stages, run:

Code: Select all

    tail -f /usr/local/nagiosxi/var/cmdsubsys.log | tee subsys.txt
And then execute the final stage of the wizard, and then send us the output from that log.
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: Warning: configuration file is out of date!

Post by SDohmen »

As i explained in the first post we use distributed monitoring. In our case we use Nagios Core for our customers and ourselfs a Nagios XI which soon we are planning on buying a license for aswell.

The first thing i did after installing was to setup NRDP so it could recieve all the hosts etc. After about 10 min i decided to create the hostgroups first so i could place them in the correct groups straight away.

After creating the hostgroups i did the save config part like usual but i didn't get any error or see anything strange. When i clicked the continue button i noticed however that it said config out of date which made me wonder. After reading around i changed the clock setting (which i didn't do at the test machine) and tried again. Neither of these did work though no matter what i tried. Except when i did the write config the hostgroups showed up in the list.

I will make the log tomorrow and send it to support with a link to this thread.
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: Warning: configuration file is out of date!

Post by SDohmen »

I just did the tail line you posted above and i attached the log to this post, since i couldn't find a support email.

Anyway i did some more testing with the time zone and also here no success. What i did notice though that every time i click the apply configuration button the time is supposed to be set to the current one. However it keeps being the time i used the write config from the tools menu. Not sure if that helps trying to locate this problem but i assume it never hurts of being posted.
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Warning: configuration file is out of date!

Post by mguthrie »

What does your install environment look like?
Linux Distro?
Using SSL, NAT or Proxy?
Using a local DNS name to access the Nagios XI server?
SDohmen
Posts: 240
Joined: Thu Jun 30, 2011 4:14 am

Re: Warning: configuration file is out of date!

Post by SDohmen »

The distro i use is CentOs 5 (tried 5.6 aswell).
I use the internal ip to access the nagiosxi server since its not operational yet. Same goes for the port, its the regular port 80. For connecting to the nagiosxi server i use the ip which i also used during install.
Locked