Hey Atlassian Statuspage community,
I'm trying to figure out how it would be possible to post an incident when my website monitor NewRelic detects a failure?
Any help would be appreciated!
I have used https://support.atlassian.com/statuspage/docs/add-a-new-relic-metric/ to get metrics into Statuspage.
But I actually think you've answered your own question when you used the word "monitor" - I think https://support.atlassian.com/statuspage/docs/set-up-new-relic-alerts-parsing/ does what you want!
Hey Nic, thanks! This (https://support.atlassian.com/statuspage/docs/set-up-new-relic-alerts-parsing/) does half of what I want! Is there a way I could also make it automatically create a new incident?
Sorry, I missed the "full statuspage incident" part, I was too focussed on integration with NewRelic.
I don't believe you can do that with NewRelic off-the-shelf. The reason I say that is the table 3/4 of the way down https://support.atlassian.com/statuspage/docs/know-when-to-automate-your-status-page/ under "Automating your status page using an integration" - NewRelic is not listed as being able to create incident.
I think the next section of the doc is what you want to think about - using the "Manage api". It will need a bit of coding though - persuading NewRelic to send the data Statuspage wants for creating a new incident.
You have defeated me on templates, I have not used them, sorry.
I have used the "Manage API" to create an incident from a shell script, but it does not use anything clever like templates. (It's not even as clever as my "post text into Slack" script and that's pretty much a raw https call with a hard-coded token, which I believe to be clumsy and know to not scale)
As Nic has mentioned, you'll need something between NewRelic and Statuspage in order to actually trigger an incident in Statuspage, vs just posting the metric information.
OpsGenie is a good solution for this. It can receive the alert from NewRelic and then take action to create a Statuspage incident. Then when the NewRelic alert closes, it can automatically resolve the Statuspage incident as well. As a bonus, you can use that same alert in OpsGenie to call/text/push-notify somebody based on a schedule (meaning if you've got teammates, you don't need to be on-call 24/7!)
See more OpsGenie features and get started free here. I think you can do what you've outlined between NewRelic and Statuspage easily on the OpsGenie free tier!
Edit: for clarity, OpsGenie (like Statuspage) is also an Atlassian product.
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...
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