Page 1 of 2

Bulk Clone Wizard Failing to Clone Properly

Posted: Mon Nov 05, 2018 12:08 pm
by mkeey
Using the Bulk Clone Wizard I'm getting the following error...


Was working but recently upgraded to v5.5.5.

Re: Bulk Clone Wizard Failing to Clone Properly

Posted: Mon Nov 05, 2018 3:20 pm
by scottwilkerson
After consulting with the developers about the cause of this, we did come up with a cause and that is the file format changes slightly in the newer versions and need to be re-written to be parsed correctly.

Lets to the following. Remove the erroneous configs for the host/services, in the CCM.

Then

CCM -> Tools -> Config File Management
Delete Files
Write Configs
Verify Files
Restart Nagios Core

This will reset the configs

Now, the Bulk Host Import Wizard should work correctly.

Re: Bulk Clone Wizard Failing to Clone Properly

Posted: Tue Nov 06, 2018 7:31 am
by mkeey
I will give that a go this morning - MKeey

Re: Bulk Clone Wizard Failing to Clone Properly

Posted: Tue Nov 06, 2018 7:46 am
by mkeey
Attempted what you had requested. See attached PDF for screen prints of failed results. Please advise - MKeey

Re: Bulk Clone Wizard Failing to Clone Properly

Posted: Tue Nov 06, 2018 7:56 am
by scottwilkerson
Go to CCM -> hosts
delete ***host

the proceed again

Sorry I wasn't clear, that's what I meant by
scottwilkerson wrote:Remove the erroneous configs for the host/services, in the CCM.

Re: Bulk Clone Wizard Failing to Clone Properly

Posted: Tue Nov 06, 2018 8:47 am
by mkeey
Hello Scott - I appreciate that I can delete the bad services/hosts via the CCM. Did that yesterday and then the Apply Config works just fine. However, I still have to add these new hosts & services. If I run the Bulk Clone Wizard again, I'll just be right back where I started from.

I will delete the bad CFG files, but how do we fix the problem of the Wizard generating corrupt/incompatible CFG files?

Re: Bulk Clone Wizard Failing to Clone Properly

Posted: Tue Nov 06, 2018 9:30 am
by scottwilkerson
Actually when you ran this it would have fixed the issue
CCM -> Tools -> Config File Management
Delete Files
Write Configs
there was a bug that required all the configs to be re-written for the Bulk Host cloning issue to be resolved.

Now if you re-run the wizard it should create the hosts correctly.

Re: Bulk Clone Wizard Failing to Clone Properly

Posted: Tue Nov 06, 2018 10:41 am
by mkeey
This makes sense now. Should have cleaned up the old versions CFG files before we ran the Wizard. May want to update the upgrade program to include a delete of the CFG files so other customers don't run into this issue.

Re: Bulk Clone Wizard Failing to Clone Properly

Posted: Tue Nov 06, 2018 10:53 am
by scottwilkerson
mkeey wrote:This makes sense now. Should have cleaned up the old versions CFG files before we ran the Wizard. May want to update the upgrade program to include a delete of the CFG files so other customers don't run into this issue.
Agreed.

Were you able to run the Bulk Host Cloning Wizard successfully?

Re: Bulk Clone Wizard Failing to Clone Properly

Posted: Tue Nov 06, 2018 1:13 pm
by mkeey
Affirmative, the Bulk Clone Wizard worked as it always has. Please consider this post resolved. Thanks for the help!