Configuring templates
The first step in using templates is configuring the template script. After you configure a template, it will then need to be generated and applied to your network devices. For more information, see Generating and applying templates.
To configure a new template:
- Go to the Template Library:
On the WhatsUp Gold web interface, go to . The Template Library appears.
- Click . The New Configuration Template dialog appears.
- Enter a unique and for the template to differentiate it from other templates in the Template Library.
- Click . The Select Configuration Archive dialog appears.
- Click to select a device from which to choose the config file upon which you are basing this template.
If the device you select has archived config files, they are displayed in the Select Config Archive dialog. If there are no archived config files for the device, click to grab a config file with the WhatsConfigured Select Configuration dialog. For more information, see Capturing device configurations. After you capture a config, it is displayed in the Select Configuration Archive dialog.
- Select the archive upon which you want to base the template. The config script is added to the section of the New Configuration Template dialog.
- Adjust the config file as needed to replace any relevant device-specific information with variables, such as the hostname and the IP address. For information on variables in WhatsConfigured, see Using the WhatsConfigured Custom Script Language.
- Click to save the template.
To modify an existing template:
- Go to the Template Library:
On the WhatsUp Gold web interface, go to . The Template Library appears.
- Select an existing template, then click . The Edit Configuration Template dialog appears.
- Modify the as needed.
: You cannot modify the template .
- Modify the script as needed. For information on WhatsConfigured variables you can use to replace device specific information, such as hostname and IP address, see Using the WhatsConfigured Custom Script Language.
- Click to save the template.
To copy a template to use as a base for another template:
- Go to the Template Library:
On the WhatsUp Gold web interface, go to . The Template Library appears.
- Select an existing template, then click . The New Configuration Template: Copy of ... dialog appears.
- Enter a unique and for the template to differentiate it from other templates in the Template Library.
- Modify the script as needed. For information on WhatsConfigured variables you can use to replace device specific information, such as hostname and IP address, see Using the WhatsConfigured Custom Script Language.
- Click to save the template.
To remove a template from the Template Library:
- Go to the Template Library:
On the WhatsUp Gold web interface, go to . The Template Library appears.
- Select an existing template, then click . You are prompted to be sure you want to delete the template.
- Ensure that you are removing the appropriate template, then click . The template is removed from the library.