Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Setup 'Minor outage' to StatusPage via NewRelic integration

Priyadarshini R Kolwalkar March 1, 2021

Hello, 

 I currently have a NewRelic alert notification to update StatusPage for a major outage.

But I'm trying to send a customized payload to update the status instead to a "Minor outage". The default payload is always a "Major Outage" https://support.atlassian.com/statuspage/docs/set-up-new-relic-alerts-parsing/.

I want to know how I should setup my custom payload in the webhook to achieve this? What should be values in Basic Auth? Is that the username/password for StatusPage?  How about the custom headers? Should the Base URL be the specific component url?

 

Thanks, 

PriyaNewRelic webhook.png

1 answer

0 votes
Mark Campbell-Vincent
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 22, 2021

Hi @Priyadarshini R Kolwalkar -

Since adding a webhook is not part of setting up the New Relic integration we offer, you'll need to leverage the Statuspage API to get what you're trying to accomplish. Please take note that "Minor outage" isn't one of the component statuses.

 

You'll need to use the 'Update a Component' API for this. So the endpoint you would put in the Base Url would be something like this:

https://api.statuspage.io/v1/pages/{page_id}/components/{component_id}?api_key=XXXX. The Basic Auth part won't be needed. 

From there, you'll need to use the request sample we provide and add that to the body of the webhook. If you don't have a way of adding a request to the body of the webhook, you won't be able to send this to Statuspage to update the component. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events