Skip to main content

Configuring ServiceOps to AIOps Integration

The ServiceOps to AIOps Integration facilitates the synchronization between Motadata ServiceOps and Motadata AIOps platforms, ensuring streamlined incident management and alert resolution processes. This integration enables automatic clearing of alerts in AIOps when corresponding tickets are closed in ServiceOps. By establishing this bidirectional communication, organizations can maintain consistency across their IT operations.

Configuration Steps

To configure the integration from ServiceOps to AIOps, follow these steps:

  1. Open the ServiceOps portal and click on the Settings button located on the top right corner of the screen.

  2. Navigate to the Automation tab and select Workflow.

  3. Click on Create Workflow and provide a name, such as AIOps to identify the workflow.

  4. In the Module field, select Request, and choose Event as the Workflow Type.

  5. Under the Trigger tab, select Status is Changed to trigger the workflow when a ticket status changes.

  6. Specify the trigger conditions by selecting From: Any and To: Closed to indicate the transition from any status to Closed.

  7. Click Done to confirm the trigger condition.

  8. Add a condition by clicking the plus icon and selecting Add Condition.

  9. Under the Condition tab, select Source as the Condition, In as the Operator, and enter AIOps and HA as Value.

  10. Click Done to confirm the condition.

  11. Specify the action to be taken when the condition is met by clicking the plus icon and selecting Action for Yes.

  12. Under the Action tab, select Run Webhook and choose POST as the Request Type.

  13. Enter the following URL:

https://MotadataServerIP/api/v1/settings/integrations/clear-alert

where MotadataServerIP is the IP address of the Motadata Server.

  1. In the Request JSON field, enter the following JSON payload:
{
"name": "{#name#}",
"id": "{#id#}",
"status": "{#status#}"
}
  1. Add headers by selecting Add Header and entering Cookie as the Key and the following as the Value:
client.id=Q5VZ97naQhyLIH0Vz4MSXvzbMyCYTjPwz+1hVJ643pA=
  1. Add another header with Authorization as the Key and the following as the Value:
Bearer UserAccessKey 

where UserAccessKey is the Access Key of the User used for integration. You can find the access key of the user from the User tab under User Settings.

  1. Select Credential Type as No Auth and click Done to confirm the action.

  2. Finally, click Save Workflow to establish the integration.

Once this connection is established, whenever a ticket is closed in ServiceOps, the corresponding alert in AIOps will automatically move into the Clear state. This ensures that incidents resolved in ServiceOps are accurately reflected in AIOps, maintaining data consistency and facilitating efficient incident management.