Add component from website to statuspage.
Asked by Howard Nedd:

Hi,

I have a website and I want to add it as a component on my statuspage.  
Basically I want to monitor the uptime of the website with and show this on Statuspage.

I have created a component for the website on statuspage which provides me a component API key.

Anyone know how to pull uptime/downtime data in to statuspage for this component?  

Thank you in advance.

Regards

Howard


Answers:
author: Scot Wilson
body: G'day Howard! I'm Scot from the Atlassian Statuspage Support Team.

For everyone's reference - our main documentation on using components to display historical uptime on your page is [here](https://support.atlassian.com/statuspage/docs/display-historical-uptime-of-components/). What we're looking for is automating the actions of setting your component status which we detail in this dovcumentation [here](https://support.atlassian.com/statuspage/docs/automate-actions-with-integrations/).

A quick summary of that is you'll need something which will monitor the uptime for your page and send the notifications for when it is UP or DOWN to Statuspage. There are a number of different integrations for you to review. Additionally, you can call the Statuspage Management APIs for [components](https://developer.statuspage.io/#operation/postPagesPageIdComponents) directly but you would need to be hosting the technology stack that monitors your website and makes the API calls.

If you're going to go down the path of using an external system to monitor the uptime/downtime of your website, then I'd like to let you know about [System Metrics](https://support.atlassian.com/statuspage/docs/what-are-system-metrics/). External monitoring tools can feed metric data to your page so you can also show response times, ping times, e.t.c. on your Statuspage as well as a component's uptime/downtime.  

Hope that helps - but let me know if you're after specific REST API help,  
Scot.  

<br />

<br />


author: John M
body: Hi Howard,

If you want to automatically update your own component on your Statuspage, you would need to integrate with a tool like [Opsgenie](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-statuspage/) or [Pagerduty](https://support.atlassian.com/statuspage/docs/set-up-a-pagerduty-integration/) that can automatically update the status of the component. Then you would use the integrations in one of those tools (for example the [Pingdom integration in opsgenie](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-pingdom/) or the [Statuscake Opsgenie integration](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-statuscake/)) to monitor the site directly.

So the workflow would look like this:

Pingdom monitors your site ----\> sends data to Opsgenie which creates alerts ---\> sends data to Statuspage, which will automatically update the component's status.

comments: author: John M
body: I should have included this in the original answer - if the website monitoring tool you're using work can send specific words over, including "UP and "DOWN" via email, statuspage can directly accept those emails and change the state of the component - which would eliminate the need for an intermediary tool like Opsgenie. [Pingdom is one example](https://support.atlassian.com/statuspage/docs/set-up-pingdom-alerts-parsing/) of a service that does work directly with Statuspage in this way.


author: Nick Dring
body: [@John M](/t5/user/viewprofilepage/user-id/4625213) I was looking at this post and the guide you suggested. Unfortunately, I haven't been able to get this to work.

The issue I'm having is that when you create the component in Statuspage and use its generated email to create a new user in Pingom the email address receives an invite that they have to confirm. As the email isn't a real one there is no way of verifying it.

Any ideas?

Regards

Nick

comments: author: John M
body: Hi Nick,

I don't have a Pingdom account to test on, but it looks like if you follow the second part of this setup under "[Edit Uptime Check](https://support.atlassian.com/statuspage/docs/set-up-pingdom-alerts-parsing/#Edit-uptime-check)" it should allow you to select the contact for uptime checks. I'm wondering if you can use unverified contacts for the uptime checks.


author: Nick Dring
body: Hi, the contact isn't selectable until it's verified. I have a call with a pingdom engineer. If I get it working I'll report back.


Tags: component