You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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
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:
In your case, you'd probably want the `/summary` endpoint:
Which returns output like this:
"description": "All Systems Operational"
Of course, this may or may not work with the monitoring system you're already using.
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.