How To Integrate Rackspace Cloud Monitoring with PagerDuty (Beta)

Rackspace Cloud Monitoring is a web application platform that is flexible and robust. The guide below describes how to integrate Rackspace Cloud Monitoring with your PagerDuty account. By integrating with PagerDuty, you can be alerted when alarms are triggered within your Rackspace Cloud Monitoring environment. This integration is currently in beta. This means that while the Rackspace web interface is not in its final form, all alert triggering and resolution are fully functional.

If you require any assistance in getting configured, please contact us.

In PagerDuty:

  1. Under the Services tab, click “Add New Service”.
    Add a new service within PagerDuty.
  2. Enter a name for the service (in our example we used Rackspace Cloud Monitoring), and select an escalation policy.
  3. Start typing “Rackspace” under “Integration Type” to filter your choices.
    Rackspace
  4. Click the “Add Service” button.
  5. Once the service is created, you’ll be taken to the service page. On this page, you’ll see the “Service key”, which will be needed later.
    Copy your Service API key.
    Note: You may create multiple Generic API services for use with different PagerDuty policies. The Rackspace Cloud Monitoring can be aligned to any number of different PagerDuty accounts and “Generic API” services.

Within Rackspace Cloud Monitoring:

Create the PagerDuty Notification Plan and Notifications

  1. Go to https://ui-labs.cloudmonitoring.rackspace.com/ and log in with your Rackspace credentials.
  2. Click on notifications in the top menu.
  3. Click the + next to notifications.
    Add a Notification.
  4. Enter a label for the notification; we used PagerDuty but if you’re adding multiple notifications you will want to add a unique label here. Select pagerduty as the notification_type. Enter your serviceKey which you obtained from step 4 under the “Within PagerDuty” section of this guide.
    Create a PagerDuty notification.
  5. Click the + next to notification_plans.
    Create a PagerDuty notification plan.
  6. Enter a name for the notification plan and click on Confirm. If you’re planning on having multiple plans, you will want a unique name here.
    Name your notification plan.
  7. You will be taken to view the notification plan. Click on the little pencil icon to edit the notification plan.
    Edit your notification plan.
  8. Select your PagerDuty notification for the ok_state, warning_state and critical_state.
    Choose your PagerDuty notifications.
  9. Click the check mark to save your notification plan.

Add Your Notification as a Check

  1. Go to https://mycloud.rackspace.com and login.
  2. Select your server that you would like to monitor.
    Select your server.
  3. Scroll down to the Monitoring Checks section, and click on Create Check.
    Create a check.
  4. Select the check type that you want to monitor.
    Configure check.
  5. Enter a name for your check, such as HTTP Check.
  6. Fill out the remaining empty fields on the form that are relavent to the Check Type that you have selected.
  7. Select the PagerDuty monitoring notification plan that you created earlier from the “Send Alarms to” drop-down menu.
  8. Click on Create Check.

Congratulations, you’ve now integrated Rackspace Cloud Monitoring with PagerDuty. If you would like to have add additional monitoring notifications or monitioring checks, simply repeat the steps above using multiple PagerDuty services and Rackspace Cloud Monitoring notifications.

Please contact us if you have any questions.