• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Rollbar

Rollbar logo

What does Opsgenie offer Rollbar users?

By using Opsgenie’s Rollbar Integration: you can forward Rollbar incidents to Opsgenie. Opsgenie can determine the right people to notify based on on-call schedules, using email, text messages (SMS), phone calls, iOS & Android push notifications, and escalating alerts until the alert is acknowledged or closed.

Functionality of the integration

  • When an item is created, reopened, repeated or reactivated in Rollbar, an alert is created in Opsgenie.

  • When the item is resolved in the Rollbar, the alert is closed in Opsgenie.

  • When the alert is closed in Opsgenie, the item is resolved in the Rollbar.

Add Rollbar Integration in Opsgenie

  1. Go to the Project Page in Rollbar. Then, click the Project Access Token link on the left. Copy the token that allows access to all write calls, except POSTing items or deploys (write token).

Rollbar Project Access Token

2. Go to Settings → Integrations. Search for Rollbar and select Add

Under the Free and Essentials plans, the tabs under the Team dashboard are limited to Main, Integrations, Members, and Activity Stream.

3. Paste the "Project Access Token" to "Rollbar Write Access Token" field.

4. Specify who is notified of Rollbar alerts using the Teams field. Autocomplete suggestions are provided as you type.

An alternative for this step is to add the integration from the Team Dashboard of the team which will own the integration. To add an integration directly to a team, navigate to the Team Dashboard and open Integrations tab. Click Add Integration and select the integration that you would like to add.

5. Copy the URL.

6. Click on Save Integration.

Rollbar integration

Configuration in Rollbar Expand

  1. On the Rollbar dashboard, go to Settings -> Notifications -> Webhook

  2. Paste the URL copied previously.

Rollbar webhook

3. Click *Enable Webhook Integration.

Sample payload sent from Rollbar Close

Sample

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 { "event_name": "new_item", "data": { "item": { "public_item_id": null, "integrations_data": {}, "last_activated_timestamp": 1390917586, "hash": "1cbf07b5da947216f68ea8b8dd4813fa43317b90", "id": 274146948, "environment": "staging", "title": "ReferenceError: Uncaught ReferenceError: testing_rollbar_123 is not defined", "last_occurrence_id": 770525810, "last_occurrence_timestamp": 1390917588, "platform": 1, "first_occurrence_timestamp": 1390917586, "project_id": 6869, "resolved_in_version": 6, "status": 1, "unique_occurrences": null, "framework": 7, "total_occurrences": 1, "level": 40, "counter": 1, "first_occurrence_id": 770525810, "activating_occurrence_id": 770525810 } } }

Last modified on Jul 30, 2021
Cached at 9:09 PM on Aug 2, 2021 |

Additional Help

Ask the Community