1. Home
  2. Integrations
  3. Rollbar Integration Guide – VictorOps

Rollbar Integration Guide – VictorOps

The Rollbar integration for VictorOps allows you to send your Rollbar notification directly to the VictorOps timeline. Follow these easy steps to get the integration implemented.

Implementation Steps

 

  1. From Rollbar select Settings from the top of your screen, and then Notifications from the left side bar. Under Available Channels select VictorOps.rollbar1
  2. You will then be presented with two input boxes. One for API Key and one for Routing Key, both of which can be found in the VictorOps UI. (Step 4-6)rollbar2

 

In VictorOps, select Settings >> Alert Behavior >> Integrations >> Rollbar

If the integration has not yet been enabled, click the “Enable Integration” button to generate your endpoint URL as seen below.  Be sure to replace the “$routing_key” section with the actual routing key you intend to use. (To view or configure route keys in VictorOps, click Alert Behavior >> Route Keys)

Resolve via VictorOps

This feature requires the Full-Stack features set in order to access Outgoing Webhooks.

If desired, recoveries in VictorOps can be passed to Rollbar as a resolve. To do this, an access token from Rollbar will be needed to leverage the api. This token can be found under Settings > Project Access Tokens, copy the value of the post_client_item.

In VictorOps, navigate to Settings > Alert Behavior > Outgoing Webhooks, and select Add Webhook. Use the following values for your configuration and be sure to replace the access token with value copied from Rollbar.

  • Action: Incident-Resolved
  • Method: PATCH
  • Content-Type: application/json
  • To: https://api.rollbar.com/api/1/item/${{ALERT.rollbar_item_id}}?access_token=YOUR_ACCESS_TOKEN_HERE
  • Payload: {“status”:”resolved”}

In the end, your webhook should look like the below screenshot.

Updated on April 4, 2018

Was this article helpful?

Related Articles