What is the logic for clone wizard to change host files?
I'm noticing if host file exist, no changes made. If host file not exist, then host config is cloned successfully.
This works great for updating a batch of services, but I need to update template configs for multiple hosts.
What is best way to update multiple host config files? I need to clone host-templates.
Cloning and Import Wizard
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Cloning and Import Wizard
I believe there may be a bit of confusion here, when you clone a template it will simply be a copy of the same template and the use of a template is to make blanket changes over your hosts or services. Are you thinking of cloning a template, so that it has the same basic information inside of it, but you can then change a few definitions? If so, you can do this through the core config manager by clicking the "Copy" button next to the template, then making the changes within the copy.
The Bulk Host Cloning Wizard allows you to take a host's configuration, and clone it with a few new definitions, such as the IP, description, etc.
The Bulk Host Cloning Wizard allows you to take a host's configuration, and clone it with a few new definitions, such as the IP, description, etc.
Re: Cloning and Import Wizard
The observed behavior is "by design". If you are cloning a host into an existing host (there is a config), the Bulk Host Wizard will "update" the services, but will not modify the host (or create a new one). If you are cloning a host into a new one - the wizard will create a config for the new host. Cloning host templates is not possible. However, you can do a lot of different bulk mods via the "Bulk Modifications Tool" in Nagios XI 2012 Enterprise Edition. If you haven't purchased Enterprise, you can try it for free for 60 days, and try the "Bulk Modifications Tool".
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
asmgiadmin
- Posts: 125
- Joined: Tue Feb 12, 2013 5:00 pm
Re: Cloning and Import Wizard
thank you confirming the observation.
I was hoping to use a tool to update specified host configs to use different template. I will find a work around.
I was hoping to use a tool to update specified host configs to use different template. I will find a work around.