Opsgenie のテンプレートの作成
Splunk AppDynamicsOpsgenie に HTTP リクエストアクションを送信するには、 でテンプレートを作成する必要があります。Splunk AppDynamics がイベントに応答してアクションをトリガーすると、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.