Apply Config Fails

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mkeey
Posts: 199
Joined: Mon Sep 25, 2017 11:13 am

Apply Config Fails

Post by mkeey »

Applied configuration at the end of a Wizard and the apply failed...
------------------------------------------------------------------------------------------------------------------
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error:
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
------------------------------------------------------------------------------------------------------------------

I logged onto the Linux server running this XI and found that the ***cfg file does not exist...



How do I clean this up so the apply config no longer fails?

Regards,
Martin Keey
Last edited by benjaminsmith on Tue Feb 19, 2019 11:58 am, edited 1 time in total.
Reason: log output removed at request
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Apply Config Fails

Post by scottwilkerson »

Clean them all up, go to

Configure -> CCM -> Tools -> Config File Management
click Delete Files

Then Apply Configuration again
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mkeey
Posts: 199
Joined: Mon Sep 25, 2017 11:13 am

Re: Apply Config Fails

Post by mkeey »

Outstanding! Work flawlessly. Thanks for the help and please close this case as resolved - MKeey
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Apply Config Fails

Post by scottwilkerson »

Excellent! Glad to hear it is resolved.

Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked