This section describes the procedure to create a Remediation Rule.

Prerequisites

The Actions must be pre-defined before creating the Remediation Rule. There are some predefined set of actions available in the Actions page which can be used while creating the Remediation Rule. The connection and parameters information including the hostname or IPaddress, username, and passwords for the corresponding Actions needs to be updated. For more information about Actions, see Working with Actions chapter.

Procedure

  1. Go to https://Telcocloud serviceassurance-ui-IP.
  2. Enter the username and password.
  3. Click Next.
  4. Navigate to Administration > Alarms Management > Remediation Rules.
  5. Click Add.
    The Add Remediation Rules page appears.
  6. Update the following parameters:
    • Name: Provide a name for the Remediation Rule. Only letters, numbers, hyphens, and underscores are allowed.
    • Description: Provide a description for the Remediation Rule.
    • Policy Type: Select the policy type for the Remediation Rule. The supported values are listed in the selection drop-down menu.
      • If the policy type is Manual, you can select only one event.
        • For Events:
          1. Click Add.
          2. In the Add Event Page, enter the Name, Class, and select the Type.

            For example, Down, Interface, and problem.

          3. Click Add Event.
        • For Actions
          1. Click Add.
          2. Select a default action from the list.

            For example, the default jira_slack_servicenow_action.

          3. Click Select.
      • If the policy type is Automated, you can select multiple events.
        • For Events:
          1. Click Add.
          2. In the Add Event Page, enter the Name, Class, and select the Type.

            For example, Failed, XYZ, and problem.

          3. Click Add Event.
        • For Filters:
          1. Select the Property, Expression, and Value from the drop-down menu.

            For example, Certainty, gte, and 70.

        • For Actions
          1. Click Add.
          2. Select an user-defined action from the list.

            For example, user_defined_action.

          3. Click Select.
  7. Under Advanced Settings, you can see Action Params. Provide a valid JSON for the actions params. Action Params is an optional field and can be used when you have a third-party plug-in installed.
    Note: You can see Action Params only when the policy type is Automated.
  8. Click Save.
  9. For automated Remediation Rule, an event or events will be polled every five minutes. If an event matches the Remediation Rule, an action will be triggered in the backend, and you can see the Remediation status in the Tasks page.

    You can see the manual and automated Remediation Rules listed.

What to do next

To view the remediation actions in the Operations tab, see View Recommended Actions in the VMware Telco Cloud Service Assurance User Guide.