PagerDuty provides alerting, on-call scheduling, escalation policies and incident tracking to increase uptime of your apps, servers, websites and databases. The integration allows you to create and resolve incidents at PagerDuty, and we have worked together to make the integration seamless. To get started, you will first need to setup a PagerDuty account at https://www.pagerduty.com/.
Integration Functionality
- Create an incident from within Uptime.com and a corresponding incident will appear on PagerDuty
- Resolve incidents from within Uptime.com and the corresponding incident will be resolved on PagerDuty
Integration Setup
First, login to your PagerDuty account and click Services > Service Directory. From the directory page, you have two options depending on whether you are adding your integration to an existing service, or if the service is new.
- For a New Service, click +New Service.
- For an Existing Service, click the Service Name, then click Integrations > New Integration.
Next, search for the Uptime.com service from the Integration Type menu and then enter an Integration Name. If you are creating a new service for your integration, enter a Name for your new service in General Settings. Then, in the Incident Settings section, specify the Escalation Policy, Notification Urgency, and Incident Behavior for your new service.
To save your integration, click Add Service or Add Integration.
View the Integrations tab of the associated service. Click the Expand arrow next to the integration name and copy the Integration Key field. This will be entered in the Uptime.com platform to connect the integration to your PagerDuty service.
Return to Uptime.com. Navigate to Notification > Integrations, locate PagerDuty in the integrations library, and click Add next to the integration name.
Paste the Integration Key copied previously into the "Integration Key" field, name this Integration, and then click Save.
Auto-Resolve Incident: when this option is checked, alerts will be resolved automatically within PagerDuty once the check returns to UP status in Uptime.
Once you've configured your PagerDuty integration, you will need to assign it to a contact and make sure that contact is notified when a check fails.
Assign Integration to Existing Contacts
To add your integration to an existing contact, click on or type the name of the contact into the Assign to Contacts field within the integration setup screen.
Create New Contacts for the Integration
Adding a dedicated or new contact cannot be done within the integration setup screen. To add a new contact, click Notification > Contacts. You can select Create Contact, or add your integration to an existing contact. If you’re creating a new contact, we recommend giving the contact a name that makes its purpose clear, such as “PagerDuty Contact.”
Select the PagerDuty integration from the Integrations field within the Create Contact screen:
Assign Integration Contact to a Check
If you have created a new or dedicated contact for your integration, you will need to add it to specific checks. If you have assigned the integration to a contact that is already assigned to one (or more) checks, you may skip this step.
Return to your check’s Edit screen and assign this contact to the Contacts field to be notified of a downtime event. Alert data will appear in real time.
Test Your Integration
Test your integration with one or more of the following methods:
- Navigate to Notification > Integrations > Active then click
More Actions > Test next to the integration name
-
Click Notification > Contacts, then click
More Actions > Test Contact to send a test to the Contact:
Final Thoughts
Integrating PagerDuty can offer a robust alerting and contact management system.
With PagerDuty's advanced incident response workflows and automation capabilities, you can quickly notify the right people and take the necessary actions to resolve issues and prevent downtime.
Incorporating PagerDuty's alerting and contact management features can help you to improve your incident response times and deliver better value to your clients.
Comments
0 comments