Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Setup 'Minor outage' to StatusPage via NewRelic integration

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

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
Community showcase
Published in Statuspage

New feature: Slack notifications for Statuspage

We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...

2,394 views 6 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you