Integrate VictorOps with StatusHub

VictorOps is a hub for centralising the flow of information throughout the incident lifecycle. Using VictorOps, your teams can resolve incidents faster to help minimise the impact of downtime and speed innovation.

In StatusHub:

To connect VictorOps to your StatusHub page, click on 'Services and Integrations' in the Hub Config section. 

Once here, you will need to select the "Services & Integrations" option on the side menu.

Click the arrow on the right.

You will then see these options appear. Click on the 3 dots to the right to reveal the drop-down menu and choose the Edit option.

Under Edit services, select Integrations and choose VictorOps, then save.

After you select the Uptrends option, we will generate a webhook for you to use at Uptrends.

Please note that your link may be slightly different and you should always refer to "Services & Integrations" section when adding new integration in one of supported 3'rd party services

In VictorOps:

In VictorOps, select Settings >> Alert Behavior >> Transmogrifier.  You will create one "Transmogrifier" rule for each service you wish to be able to update on StatusHub.

im7.png

After clicking the green “+ Add a Rule”, you will set your matching criteria for the alerts that you would like to update StatusHub.

For example, if you would like all "Website" activity reflected on your StatusHub, you would set the criteria to be when ‘monitoring_tool’ matches ‘website’.

You will then set a new alert field using 'StatusHubfield' as the parameter and using the key from the Webhook URL generated by StatusHub for the value.

im8.png

After hitting save. You should create another Transmogrifier for every service you wish to update on your StatusHub. Once you have done this, you will need to create an Outgoing Webhook. 

To access this page, select Settings >> Alert Behavior >> Integrations >> Outgoing Webhooks.

Outgoing_Webhooks___StatusHub.png

Click the green “+ Add Webhook” to create your webhook.

Outgoing_Webhooks___StatusHub__1_.png

Be sure you have selected the “Any-Incident” option from the event drop-down.

Select “POST” for the Method

Paste the following into the To: field https://hooks.statushub.io/hooks/victor_ops?token=${{ALERT.StatusHubfield}}. This will dynamically pull in the Webhook ‘key’ for your specific service, thus completing the webhook URL so that StatusHub can be updated.

Additionally, leave the payload blank. We will automatically pull the Incident’s entity_display_name to be the Title of the Incident on StatusHub, and the state_message to be the incident’s message details.

Hit save, and you are all set.

To test the webhook, create an incident with the appropriate criteria to trigger one of the Transmogrifier rules you created. If everything works, your StatusHub page will update.

Still need help? Contact Us Contact Us