Using the Bulk Clone Wizard I'm getting the following error...
Was working but recently upgraded to v5.5.5.
Bulk Clone Wizard Failing to Clone Properly
Bulk Clone Wizard Failing to Clone Properly
Last edited by benjaminsmith on Tue Feb 19, 2019 12:08 pm, edited 1 time in total.
Reason: output removed at request
Reason: output removed at request
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Bulk Clone Wizard Failing to Clone Properly
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.
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
I will give that a go this morning - MKeey
Re: Bulk Clone Wizard Failing to Clone Properly
Attempted what you had requested. See attached PDF for screen prints of failed results. Please advise - MKeey
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Bulk Clone Wizard Failing to Clone Properly
Go to CCM -> hosts
delete ***host
the proceed again
Sorry I wasn't clear, that's what I meant by
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.
Last edited by benjaminsmith on Tue Feb 19, 2019 12:08 pm, edited 1 time in total.
Reason: output removed at request
Reason: output removed at request
Re: Bulk Clone Wizard Failing to Clone Properly
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?
I will delete the bad CFG files, but how do we fix the problem of the Wizard generating corrupt/incompatible CFG files?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Bulk Clone Wizard Failing to Clone Properly
Actually when you ran this it would have fixed the issue
Now if you re-run the wizard it should create the hosts correctly.
there was a bug that required all the configs to be re-written for the Bulk Host cloning issue to be resolved.CCM -> Tools -> Config File Management
Delete Files
Write Configs
Now if you re-run the wizard it should create the hosts correctly.
Re: Bulk Clone Wizard Failing to Clone Properly
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Bulk Clone Wizard Failing to Clone Properly
Agreed.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.
Were you able to run the Bulk Host Cloning Wizard successfully?
Re: Bulk Clone Wizard Failing to Clone Properly
Affirmative, the Bulk Clone Wizard worked as it always has. Please consider this post resolved. Thanks for the help!