Add Remediation Rule
This section describes the procedure to create a Remediation Rule in the
Administration
page. The Actions must be pre-defined
before creating the Remediation Rule. There are some pre-defined 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 must be updated. For more information about
Actions, see Working with Actions
chapter.
- Go tohttps://Telcocloud serviceassurance-ui-IP.
- Enter theusernameandpassword.
- ClickNext.
- Navigate to .
- ClickAdd.TheAdd Remediation Rulepage appears.
- UnderDescription, 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.
- Tag: Provide a tag name for the Remediation Rule.
- Rule Type: Select a rule type for the Remediation Rule. The supported values are listed in the selection drop-down menu.
- If the rule type isManual, you can select only one event.

- If the rule type isAutomated, you can select multiple events.
- ForAutomatedrule type, underAdvanced Settings, you have theSmoothing Interval. Select the smoothing interval in seconds from the drop-down list. This is an optional field.

- ClickNext.
- UnderFilters, select theProperty,Expressionfrom the drop-down menu, and enter theValue.
- To add multiple filters, clickAdd Group. TheORcondition tag is used when you add filters from different groups.
- To add multiple properties for a given filter within the same group, clickAdd Condition. TheANDcondition tag is used when you add filters within the same group.
- ClickNext.
- UnderEvents, select theEvent Name,and class type is, and the root cause from the drop-down menu.For example, Unresponsive, Switch, and it is not a root cause.
- UnderRemediation Action:
- You can select the pre-defined remediation action or add an user-defined remediation action.
- To select the pre-defined remediation action, select the required action from the list and clickSave.The following screenshot is an example of pre-defined remediation action.

- Under Advanced Settings, you can seeAction 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.
- To add an user-defined remediation action, clickAdd.TheAdd Remediation Pageappears.
- On theAdd Remediation Action, update the following parameters:
- Name: Provide a name for the action. Only letters, numbers, hyphens, and underscores are allowed.
- Description: Provide the description details to an action.
- Format: Select a format for an action. The supported values are YAML and Python.
- Under Code Preview, clickUploadand upload the Python action.
- ClickSaveand clickFinish.Once the action is created, you can select it from the actions list.
For the automated Remediation Rule, an event is polled every five minutes. If an event matches the Remediation Rule, an action is triggered in the backend, and you can see the Remediation status in theTaskspage.
To view the remediation actions
in the
Tasks
tab, see Managing Tasks
in the VMware Telco Cloud Service Assurance
User Guide
.