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
airserv
Posts: 14
Joined: Fri Feb 19, 2010 11:45 am

Configuration FIle is out of Date!

Post by airserv »

All of the sudden, any time I try to write changes to Nagios, it says:

Warning: configuration file is out of date!

From there, it won't apply any changes, and is very frustrating. It had been working wonderfully for a while.

Any help would be appreciated.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Configuration FIle is out of Date!

Post by tonyyarusso »

First, likely unrelated, but hey: Is the time/date correct on the server's clock?
Second: Is there anything interesting in your logs that might show what the first thing to fail was?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Configuration FIle is out of Date!

Post by Box293 »

What happens when you follow these steps?:
  • Login to Core Configuration Manager
    Click Tools - Write Config Files
    Click the Go button next to Write monitoring data
    This should succeed or fail, either way it tells you on the screen the results
    Try the other Go buttons
Post the results here, this should provide some more information.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
airserv
Posts: 14
Joined: Fri Feb 19, 2010 11:45 am

Re: Configuration FIle is out of Date!

Post by airserv »

Here's what it says for the files... I'm not sure what would have changed, or how to correct that.

Write host configurations ...
Configuration file successfully written!

Write service configurations ...
Configuration file successfully written!

Write hostgroups.cfg ...
Cannot open/overwrite the configuration file (check the permissions)!
Write servicegroups.cfg ...
Cannot open/overwrite the configuration file (check the permissions)!
Write hosttemplates.cfg ...
Cannot open/overwrite the configuration file (check the permissions)!
Write servicetemplates.cfg ...
Cannot open/overwrite the configuration file (check the permissions)!
airserv
Posts: 14
Joined: Fri Feb 19, 2010 11:45 am

Re: Configuration FIle is out of Date!

Post by airserv »

turns out I did know what to do. I ran the following command:

chown apache.nagios /usr/local/nagios/etc/*.cfg

then restarted the httpd service and all is good again...
Locked