PagerDuty

image0

With PagerDuty, you can receive alerts via phone call, SMS and email, set up automatic escalation of alerts and set up on-call duty scheduling for your ops teams.

PagerDuty Configuration

To add a service in PagerDuty, click on the Services tab. Click on Add a New Service .

pagerduty_add_new_service

Enter a name for the service and select an escalation policy. Select “Use our API directly” for the Service Type.

pagerduty_configure_service

Click on the “Add Service” button at the bottom of the page. Once the service is created, you’ll be taken to the Service Details page. On this page, you’ll see the Integration API Key, which you will need when you configure your Librato account to send events to PagerDuty.

image5

Librato Configuration

With your PagerDuty information in hand, navigate to the “Outbound” section of your Integrations page. Click on the PagerDuty integration, then on the “Add Configuration” button.

image1

Enter the PagerDuty configuration details:

  • Title: Service destination name, for example Pagerduty hook .
  • Service Key: The Service API Key you copied from the PagerDuty services page (REQUIRED).
  • Description: A short description of the problem that led to this trigger. This field (or a truncated version) will be used when generating phone calls, SMS messages and alert emails. It will also appear on the incidents tables in the PagerDuty UI (REQUIRED).
  • Incident Key: Identifies the incident to which this trigger event should be applied. If there’s no open (i.e. unresolved) incident with this key, a new one will be created. If there’s already an open incident with a matching key, this event will be appended to that incident’s log. The event key provides an easy way to de-dup problem reports. If this field isn’t provided, PagerDuty will automatically open a new incident with a unique key (OPTIONAL).

image2

Creating Alerts

After setting up the service you can tie alerts to a service destination. You can read more about creating alerts in the Alerts Introduction knowledge base article. You can easily set up Librato to work with multiple PagerDuty service destinations.

image4

Alert Notifications

When an alert fires the payload is sent to PagerDuty.

pagerduty_incident

Clicking on view message shows the incident details:

pagerduty_incident_details