Set up the integration in PagerDuty
Log in to PagerDuty and go to Configuration > Services
Click Add Services, name the service, and select ‘Rigor’ as the integration type
- Click Add Service.
Copy the Service API Key of the new PagerDuty Service to your clipboard.
Set up the Alert Webhook in Splunk Synthetic Monitoring
- In Splunk Synthetic Monitoring, go to Admin > Alert Webhooks > + New and click Create a PagerDuty Alert Webhook
- 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 PagerDuty Service API Key copied in step 4 into the ‘service_key’ 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 each trigger event. Edit the JSON as needed to suit your workflow and then click Save.
- Click Test test your webhook by sending a request to the PagerDuty 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.
- Click the Notifications tab.
- Under Notify, select your desired notification trigger.
- Under Recipients, select your new webhook from the dropdown.
- Adjust the additional settings to your preferences.
- Click Save.
With the webhook set up, Rigor alerts for each check it's added to trigger incidents in PagerDuty:
When the check comes back online, the associated PagerDuty incident gets resolved: