Configure the integration in OpsGenie
- Log in to OpsGenie and go to Integrations.
Find the Rigor integration and click Add (or click here)
In the integration settings, copy the API Key:
Add a new Alert Webhook in Splunk Synthetic Monitoring
- In Splunk Synthetic Monitoring, go to Admin > Alert Webhooks > + New and click OpsGenie.
- Under Name, provide a name for your webhook.
- Under Triggers, select a trigger for your notification (either "when failed" or "when back online") from the dropdown.
Paste the OpsGenie API key copied in step 3 in the ‘apiKey’ field in the ‘Payload’ section for each trigger
- (optional) Click JSON to open the JSON request body for the API request that will be sent to HipChat upon the trigger event. Edit the JSON as needed and then click Save.
- (optional) Under Triggers, repeat steps 6-8 for the other trigger option (either "when failed" or "when back online," whichever you did not use in the first trigger).
- Click Test test your webhook by sending a request to the OpsGenie API endpoint.
- Click Create to save the webhook.
Add Your Webhook To A Splunk Synthetic Monitoring Check
You need to add your webhook to each check you want to send notifications from. To add your webhook to a check, do the following:
- Navigate to a check in Splunk Synthetic Monitoring, click the gear icon, and select Edit from the dropdown.
- Under Notify, select your new webhook from the dropdown. Use the second toggle menu to select your desired notification frequency.
- Click Save.
With the webhook set up, alerts from this check will post notifications to OpsGenie:
When the check comes back online, the associated OpsGenie alert will be closed:
For more, see the OpsGenie integration documentation.