Bad import file

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Bad import file

Post by CFT6Server »

During the import configuration file process, there was a bad configuration file. Is there any way to reverse this? or remove the bad config so when we click on Apply Configuration, it doesn't try to apply the config?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Bad import file

Post by lmiltchev »

Prior to applying configuration, you will need to run the Write Config Tool, in order to make sure you don't have any config errors.

https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: Bad import file

Post by CFT6Server »

Hi Yes, I am at that stage, but now it seems the configuration is stuck. So how do I reverse this and get rid of what's imported??
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Bad import file

Post by abrist »

Your best bet is to do one of the following:
1. Remove the broken objects by hand in the ccm (can be tedious depending on how many were added in the batch with the bad configs).
2. Revert the snapshot for the ccm. (admin --> config snapshots)
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked