We are trying to use a monitoring solution to notify us of changes to our vendors' status pages, run by Statuspage.
We can monitor for the text 'All systems operational" but we'd like more fine-grained notification. Unfortunately our keyword monitoring system can't handle the line breaks that are in the HTMl code.
For example, here is the output code from one such page:
But our monitor can only look for:
---
data-component-id="8h9sn12x310t" class="component-inner-container status-orange "
---
Where the actual HTML is
---
data-component-id="8h9sn12x310t"
class="component-inner-container status-orange "
---
(i.e. with a line break).
Is it possible to adjust your code output so that the data-component-id and class for the DIV tag is all one one line? That will allow us and others to monitor individual sections of a status page and not the entire vendor as a whole.
Hey @Matt Cohen 👋 Also note that public status pages have a REST API you can access by appending `/api` to the status page URL. For example:
https://confluence.status.atlassian.com/api
In your case, you'd probably want the `/summary` endpoint:
https://confluence.status.atlassian.com/api/v2/summary.json
Which returns output like this:
{
"page": {
"id": "4g2my7tbhjsq",
"name": "Confluence",
"url": "https://confluence.status.atlassian.com",
"time_zone": "Etc/UTC",
"updated_at": "2022-12-19T08:00:39.734Z"
},
...
"status": {
"indicator": "none",
"description": "All Systems Operational"
}
}
Of course, this may or may not work with the monitoring system you're already using.
Thank you ! This is very helpful and I appreciate you helping me out with the info!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the Atlassian Community!
Atlassian don't take feature requests from the Community (often), you should raise this in their issue tracker over at jira.atlassian.com
I doubt they'll do this though, as the HTML is well-formed and readable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks - I actually tried to use jira but there wasn't a category for Statuspage
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.