Using Device Templates

Download this manual as a PDF file

This section describes how to use a device template in Skylar One (formerly SL1).

Device templates allow you to save a device configuration, apply it to one or more devices, and reuse the same configuration over and over again.

When you apply a device template to a device group or to selected devices, all the devices in the device group or all the selected devices will inherit the field values from the device template. Therefore, you will not need to manually define settings for each device in the affected pages.

You can use a device template in multiple ways:

NOTE: Any policies configured with a device template cannot be removed. The only action available after a policy is added to a template is editing the policy with the same device template. There is no bulk action option to add or edit policies, and no way to remove policies using a device template.

Use the following menu options to navigate the Skylar One user interface:

Before You Start

Before you start creating and working with device templates, consider the following:

Using a Device Template to Edit the Configuration of the Devices in a Device Group

When you define a device group, you can select one or more devices to include in the device group. These devices have already been discovered by Skylar One and include the default configuration that is applied to a device when it is initially discovered.

Device groups can also include devices that are automatically added to the device group upon discovery. These devices also include the default configuration that is applied to a device when it is initially discovered.

You can use a device template to change the configuration of all devices in a device group.

When you apply a device template to a device group, you can avoid manually defining the following for the member devices:

All the devices in the device group will inherit the field values from the device template.

NOTE: If the definition for a device group in the Device Group Editor page does not include Config Policies/Bulk Edit in the Visibility field, you cannot apply a device template to the device group.

To use a device template to change the configuration of all devices in a device group:

  1. Go to the Device Groups page (Devices > Device Groups).
  2. In the Device Groups page, find the device group to which you want to apply a device template. Click its building blocks icon ().
  3. The Bulk Device Configuration page appears.
  1. Click the [Apply] button to apply the device template and any changed field values to the device group.
  2. The Device Setting Confirmation page appears.
  1. To approve the changes and the device list, click the Confirm button in the Device Setting Confirmation page.
  2. The settings in the device template will be applied to the selected devices in the device group.

Using a Configuration Template to Edit the Configuration of One or More Individual Devices

You can apply a device template to one or more devices individually, rather than as part of a device group.

When Skylar One discovers a device, Skylar One applies some default configuration settings to that device. You can edit these settings or use a device template to edit the settings for one or more devices.

You can use a device template to change the configuration of one or more selected devices.

When you apply a device template to one or more devices, you can avoid manually defining the following for the devices:

All the selected devices will inherit the field values from the device template.

To use a device template to change the configuration of one or more devices:

  1. Go to the Devices page or the Device Manager page (Devices > Classic Devices, or Registry > Devices > Device Manager in the classic user interface).

  2. Depending on which page you are on, do one of the following:

    • On the Devices page, select the checkbox for each device you want to apply a device template to. Then click the Actions menu and select Modify by Template. The Modify by Template page appears.

    • On the Device Manager page, select the checkbox for each device you want to apply a device template to. Then click the Select Actions menu, select Modify by Template, and click the Go button. The Bulk Device Configuration page appears.

  3. Do the following:

    • In the Template field, select an existing device template.

    • Save When Applied & Confirmed. From this page, you can edit the value of any of the fields in any of the tabs of the device template.

      • If you select this checkbox, any changes you make to the template's fields will be saved to the template.

      • If you don't select this checkbox, you can edit the values in any of the fields and the edited values won't be saved in the device template, but will be applied to the device group.

  4. Click the [Apply] button to apply the device template and any changed field values to the selected devices.

  5. The Device Setting Confirmation page appears.

    • In this page, you can view any settings in the device template that are different from Skylar One default settings.

    • You can click a field to disable it. When you disabled a field, its value will not be applied to the selected device group or selected devices.

    • You can also view a list of devices to which the device template will be applied.

  6. To approve the changes and the device list, click the Confirm button in the Device Setting Confirmation page.

  7. The device template will be applied to the selected devices.

Using the Bulk Configuration Tool to Apply Ad Hoc Settings to a Device Group

You can use the bulk configuration tool () in the Device Groups page to apply one or more settings that are usually defined in a device template to a device group. You can apply settings that are not currently saved in a device template and then exit the bulk configuration tool without saving the settings as a device template. In effect, you can manually apply configuration settings to one or more devices, without creating or saving a device template.

NOTE: If the definition for a device group in the Device Group Editor page does not include Config Policies/Bulk Edit in the Visibility field, you cannot perform bulk configuration to the device group.

To use the bulk configuration tool to apply settings to a device group:

  1. Go to the Device Groups page (Devices > Device Groups).
  2. In the Device Groups page, find the device group to which you want to apply configuration settings. Click its building blocks icon ().
  3. The Bulk Device Configuration page appears.
  1. Click the [Apply] button to apply the settings to the device group.
  2. The Device Setting Confirmation page appears.
  1. To approve the changes and the device list, click the Confirm button in the Device Setting Confirmation page.
  2. The settings from the Bulk Device Configuration page will be applied to the selected devices in the device group.

Using the Bulk Configuration Tool to Apply Ad Hoc Settings to One or More Devices

You can use the Modify by Template action in the Device Manager page to apply one or more settings that are usually defined in a device template to one or more devices. You can apply settings that are not currently saved in a device template and then exit the bulk configuration tool without saving the settings as a device template.

To use the Modify by Template action to apply settings to one or more devices:

  1. Go to the Devices page or the Device Manager page (Devices > Classic Devices, or Registry > Devices > Device Manager in the classic user interface).

  2. Depending on which page you are on, do one of the following:

    • On the Devices page, select the checkbox for each device you want to apply configuration settings to. Then click the Actions menu and select Modify by Template. The Modify by Template page appears.

    • On the Device Manager page, select the checkbox for each device you want to apply configuration settings to. Then click the Select Actions menu, select Modify by Template, and click the Go button. The Bulk Device Configuration page appears.

  3. Do the following:

    • In the Template field, select New/One-Off Template.

    • Save When Applied & Confirmed. From this page, you can edit the value in any of the fields in any of the tabs of the device template. The edited values will be applied to the selected devices. You do not have to save the edited values in a device template; they can be for one-time-only use.

      • If you select this checkbox, any changes you make to any of the fields on any of the tabs will be saved to a new template.

      • If you don't select this checkbox, you can edit the values in any of the fields and the edited values won't be saved, but will be applied to the selected devices.

  4. Click the [Apply] button to apply the changed field values to the selected devices.

  5. The Device Setting Confirmation page appears.

    • In this page, you can view any settings in the device template that are different from Skylar One default settings.

    • You can click a field to disable it. When you disabled a field, its value will not be applied to the selected device group or selected devices.

    • You can also view a list of devices to which the device template will be applied.

  6. To approve the changes and the device list, click the Apply button in the Device Setting Confirmation page.

  7. The changed settings will be applied to the selected devices.

Example Device Group and Device Template

In this section, we'll create an example device group and an example device template. We'll then apply the device template to the device group.

Suppose we want to manage all Windows servers running Windows 2000 or later. We will create a device group that contains those servers.

Suppose we want to create a device template for all Windows servers running Windows 2000 or later. We want to use a single credential for each Windows server and apply consistent ScienceLogic settings to each server. We will create a device template for those servers.

Example Device Group

Here is our example device group:

Example Configuration Template

Here is our example device template. We defined fields only in the Config tab: