Introduction
BMC Remedy operates on a Software-as-a-Service (SaaS) delivery model that uses third-party cloud vendors to deliver services. BMC Remedy with OpsRamp is a one-way integration.
OpsRamp configuration
Configuration involves:
- Installing the integration.
- Configuring the integration.
Step 1: Install the integration
To install:
- From All Clients, select a client.
- Go to Setup > Integrations > Integrations.
- From Available Integrations, select Collaboration > BMC Remedy.
- Click Install.
Step 2: Configure the integration
Configure the following: - Outbound - Monitoring of Integration - Audit Logs
Outbound
To configure outbound (from OpsRamp to BMC Remedy) communications:
- Integration Basic Configuration: Configure notification details to trigger integration events.
- Notification Type: SOAP API
- Base URI:
https://{subdomain}.com/arsys/services/ARService?server=onbmc-s&webService=OpsRamp_CreateIncident
- Authentication: OAuth
- Provide username and password and click Save.
- Map Attributes: Map OpsRamp entity attributes with BMC Remedy attributes.
- Select OpsRamp entity from the drop-down.
- Click Map against the respective attribute. Create Integration Mapping window appears.
- Provide the values and click Save.
- Integration Events: Events are for sending notifications whenever an action is performed on OpsRamp entities.
- Click Add to add an integration event. Add Integration Event page appears.
- Provide name for the integration event.
- Select Service Desk from the drop-down and then select entity type and action.
- Select Parent Configuration to assign the notification details configured in step 1.
- Provide end point URL.
- Select the web method, provide the header name and value.
- Provide the payload and then click Save.
- To add additional tokens to the payload, click on the token in Place Holders list.
- A custom field that is already configured as response payload attribute for a given integration is NOT available for configuration in any other integrations. You need to remove the existing mapping from the integration to make the custom field available to map on response payload of any other integration.
- To parse the properties returned in response for the payload, select the OpsRamp property from the drop-down and provide the value.
- Verify Integration: Validate if the integration is successful.
- Select the event from the drop-down and then select the payload type.
- Provide the payload and then click Verify. A 200- OK success response is generated if the integration is successful.
- Integration Failures: In the case of failure in integration, a message is sent to the user about the failure in integration.
- Select notification type Email, provide the email address and then click Save.
Integration event payloads
The following are the field and example payload to create incidents.
Create incident
Field | Value |
---|---|
Endpoint URL | https://{subdomain}.com/arsys/services/ARService?server=onbmc-s&webService=OpsRamp_CreateIncident |
Headers |
|
Method | POST |
Authentication type | BASIC |
Username | BMC Remedy username |
Password | BMC Remedy password |
Request with OpsRamp tokens
The following is a sample request with OpsRamp tokens.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:OpsRamp_CreateIncident">
<soapenv:Body>
<urn:Create_OpsRampIncidentNew>
<!--Optional:-->
<urn:Incident_Number></urn:Incident_Number>
<urn:Summary>$incident.subject</urn:Summary>
<urn:Notes>$incident.impact</urn:Notes>
<urn:Priority>[@$incident.priority.name@]</urn:Priority>
<urn:Vendor_Ticket_Number>$incident.uniqueId</urn:Vendor_Ticket_Number>
<urn:OpsRamp_Status>[@$incident.status.name@]</urn:OpsRamp_Status>
<urn:Source_Type>Inbound</urn:Source_Type>
</urn:Create_OpsRampIncidentNew>
</soapenv:Body>
</soapenv:Envelope>
Response
The following is a sample response.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns0:Create_OpsRampIncidentNewResponse xmlns:ns0="urn:OpsRamp_CreateIncident">
<ns0:Incident_Number>INC000003142691</ns0:Incident_Number>
<ns0:OpsRamp_Status>Open</ns0:OpsRamp_Status>
</ns0:Create_OpsRampIncidentNewResponse>
</soapenv:Body>
</soapenv:Envelope>
Use tag:
$Body.createResponse.createResult.EntityResults.Entity.TicketNumber
to
read the Autotask ticket ID and save it to the external entity ID of the OpsRamp incident.Authentication error message
The following is a possible error message for an authentication error:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>ARERR [623] Authentication failed</faultstring>
<detail>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">dv-mt-01</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Required field error message
The following is a possible error message for a required field error:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>ERROR (326): Required field cannot be blank.; 536870914</faultstring>
<detail>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">dv-mt-01</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>