Configuring Automation Utilities and Datacenter Automations

Download this manual as a PDF file

This section describes how to configure and use the "Automation Utilities", "Datacenter Automation", and "Enrichment: Util" policies in the "Datacenter Automation Utilities" PowerPack.

These general-purpose run book actions and run book automation policies let you modify the output formatting of an enrichment action, send enrichment data to ServiceNow integrations, and supplement the execution of enrichment actions.

You can also configure run book actions and run book automations to collect additional diagnostic information when events occur and to provide instructions on how to troubleshoot issues. This additional information about an event is intended to assist the engineer responsible for troubleshooting and resolving that event.

Automation Utilities Run Book Automation Policies

The following table lists the "Automation Utilities" run book automation policies included in the "Datacenter Automation Utilities" PowerPack:

Automation Policy Name Aligned Events Run Book Action

Automation Utilities: Integrate Automations with SNOW Scoped

For more information, see Sending Enrichment Output to a ServiceNow Integration.

  • Automation Utilities: Request to Migrate Datacenter Advanced Enrichment Policies to ServiceNow
  • Automation Utilities: Change Enrichment Formatting to SN Scoped
  • Automation Utilities: Connect Enrichment Automations to SN

Automation Utilities: Remove Automation Policies from PowerPack

For more information, see Removing Automation Policies from a PowerPack.

  • Automation Utilities: Request to Remove Datacenter Advanced Enrichment Policies from PowerPack
  • Automation Utilities: Remove Automation Policies from PowerPack

To use these run book automation policies, you will need to enable each policy, as the policies are disabled by default.

Automation Utilities, Datacenter Automation, and Enrichment: Util Run Book Actions

The general-purpose run book actions and run book automation policies in the "Datacenter Automation Utilities" PowerPack help with modifying the output formatting of an enrichment action, sending enrichment data to ServiceNow integrations, or otherwise supplementing the execution of enrichment actions.

You can use the following run book action policies to perform specific actions as part of the run book automations in the "Datacenter Automation Utilities" PowerPack.

This PowerPack also includes the following run book actions:

The following configurations are not supported by this PowerPack:

For more information about how to use the "Enrichment: Util" run book actions with a run book automation, see Creating and Customizing Run Book Automation Policies.

Sending Enrichment Output to a ServiceNow Integration

The "Automation Utilities: Integrate Automations with SNOW Scoped" run book automation policy updates the run book actions for a specified PowerPack so that PowerPack sends enrichment output to a ServiceNow integration.

This release includes the following event policy and run book action policies to support this automation policy:

This automation policy modifies the policies in the target Automation PowerPack in the following ways:

  1. In all run book automation policies in the target PowerPack, this policy uses "Automation Utilities: Change Enrichment Formatting to SN Scoped" run book action to replace all instances of the "Datacenter Automation: Format Output as HTML" run book action with the "Datacenter Automation: Format Output for ServiceNow Scoped" run book action. This run book action prepares the output to be used in the enrichment of a ServiceNow incident.

  2. In all automation policies in the target PowerPack, the "Automation Utilities: Connect Enrichment Automations to SN" run book action replaces instances of the "Enrichment: Util: Load HTML Work Instructions" run book action with the "Datacenter Automations: Update ServiceNow Incident" run book action.

  3. For both run book actions, you will need to add the PowerPack ID to the run book action.

Not all Automation PowerPacks have the "Enrichment: Util: Load HTML Work Instructions" action aligned to their automation policies by default. If you would like to send the enrichment information from the target PowerPack to a ServiceNow incident, you can manually align the "Datacenter Automations: Update ServiceNow Incident" run book action to the automation policies in the target PowerPack after running the "Automation Utilities: Integrate Automations with SNOW Scoped" automation policy.

Removing Automation Policies from a PowerPack

The "Automation Utilities: Remove Automation Policies from PowerPack" automation action removes all automation policies from a specific Automation PowerPack. After you have customized an automation policy from an Automation PowerPack, you might want to remove that policy from that PowerPack to prevent your changes from being overwritten if you update the PowerPack later on that Skylar One system.

This release includes the following event policy and run book action policy to support this automation policy:

The following topics cover how to configure these automation policies.

Adding the PowerPack Global ID ("guid") to the Run Book Action

To use these automation policies, you will need to locate the global ID ("guid") of the Automation PowerPack you want to update. You then add the "guid" to the run book actions used by the automation policies so that Skylar One knows which PowerPack to update.

These instructions are for both of the following run book automation policies:

To locate and add the PowerPack ID to the run book actions:

  1. In Skylar One, go to the API Browser page (System > Tools > API Browser).

  2. Update the URI field so it displays /api/powerpack, and then press Enter. A list of the installed PowerPacks appears.

  3. Search for the PowerPack you want to update and click the "URI" value for that PowerPack. The detail page for that PowerPack appears:

  4. Copy the value that displays in the "guid" row.

  5. Go to the Actions page (Registry > Run Book > Actions) and open the corresponding run book action or actions for that automation policy. The Action Editor modal appears:

  6. Paste the "guid" value from step 4 into the "powerpack_guid": "%Y", parameter in the Input Parameters section, replacing the %Y with the "guid" value.

    For example: "powerpack_guid": "246E715AA03BFAE7C52D1230F3A1CB99",

    Other than modifying the target PowerPack "guid", you should not customize the run book actions in the "Datacenter Automation Utilities" PowerPack.

  7. Click Save and continue with the next procedure to test the automation policy.

Triggering the Automation Policy

If you want to test the configuration of an automation policy, you can use the Skylar OneAPI Browser page to create a test API event based on that automation policy. You will need the device ID (DID) for one of your existing devices to use as the target device for the automation policy. The device ID displays in the ID column on the Devices page.

To trigger an automation policy:

  1. In Skylar One, go to the Automation page (Registry > Run Book > Automation) and open the run book automation policy that you want to run. The Automation Policy Editor page appears:

  2. In the Aligned Events section, make a note of the aligned event. In this example, the aligned event is "Automation Utilities: Request to Remove Datacenter Advanced Enrichment Policies from PowerPack".

  3. Go to the Event Policies page (Events > Event Policies) and open the event policy from step 2.

  4. On the Match Logic tab, copy the value from the Match String field:

  5. Next, you will POST an alert with the event’s Match String to kick off the automation. Go to the API Browser page (System > Tools > API Browser) and update the URI field so it displays /api/alert.

  6. Scroll down to the Actions section on the right and click POST. A Data modal appears.

  7. Paste the Match String from step 4 into the "message" parameter.

    For example: "message": "Request to Remove Datacenter Advanced Enrichment Policies from PowerPack",

  8. Type /api/device/<target_device_id> in the "aligned_resource" field, where <target_device_id> is the device ID for the target device. The device ID displays in the ID column on the Devices page.

    For example: "aligned_resource": "/api/device/1"

  9. Click POST to kick off the automation.

  10. You can view the event generated by the automation on the Events page () or the Classic Events page (Events > Classic Events).

  11. If a wrench icon () appears in the Automated Actions column on the Events page, you can click the Actions button () and select View Automation Actions to see more information about the automation that just ran. The Event Actions Log modal appears for that event:

Creating and Customizing Run Book Automation Policies

Before you create an automation policy using the run book actions in this PowerPack or one of the "Datacenter Advanced Enrichment" or "Automation Policies" PowerPacks, you will need to make the following decisions:

To create or customize a run book automation policy:

  1. Go to the Automation Policy Manager page (Registry > Run Book > Automation).

  2. Click the Create button to create an automation policy, or search for an existing automation policy that you want to edit and click the wrench icon () for that policy . The Automation Policy Editor page appears.

  3. Complete the following fields as needed:
  1. Optionally, supply values in the other fields on this page to refine when the automation will trigger. If you are configuring the automation policy to send the output of the run book actions to a ticketing system, you should ensure that the process for associating a ticket with the Skylar One event occurs before this automation policy triggers. Typically, you would use the "and ticket IS created" or "and external ticket IS created" options in the Criteria Logic fields to do this.
  2. Click Save for a new policy, or click Save As if you are customizing an existing policy. If you modify one of the included automation policies and save it with the original name, any customizations you made to that policy will be overwritten when you upgrade the PowerPack.

After you have configured one or more automation policies that use the run book actions in this PowerPack, you must configure credentials for the run book actions to use. See the Configuring Device Credentials chapter for instructions on how to do this.