Create a template for Opsgenie
To send an HTTP request action to Opsgenie, you must create a template in Splunk AppDynamics. When Splunk AppDynamics triggers an action in response to an event, you can view the details of the action in your Opsgenie.
Before you Begin
- Integrate Splunk AppDynamics with Opsgenie. For more information, see the Atlassian Opsgenie documentation.
- Copy the webhook URL generated by Opsgenie and keep it securely for later use. Splunk AppDynamics uses this URL to send the alerts to Opsgenie.
Create a Template
- In the menu bar, click Alert & Respond.
- Click HTTP Request Templates.
- Enter a name for the template. For example,
Send alerts to Opsgenie. - In the Request URL section:
- Select POST as Method.
- Enter the webhook URL in the Raw URL field.
- Select UTF-8 as URL Encoding.
- In the Authentication section, select NONE as Type.
- In the Payload section:
- In the Response Handling Criteria section, click + Add Success Criteria and then:
- Select 200 as Status Code.
- Select the Expect Payload check box.
- Select application/json as Content Type.
- In the Settings section, select the One Request Per Event option.
- Click Save.