I use Github Pages for my status page too.<p>Not something I use for websites/web apps I develop for clients, but for my own irrelevant website, I go as far as to cheat and use the following:<p><pre><code> <img src="https://des.tination.server/img/1px.gif"
onload="statusOk()"
onerror="statusDown()"
alt="">
<script>
function statusOk()
{
// do something involving green and check marks
}
function statusDown()
{
// do something involving red... and crosses
}
</script>
</code></pre>
(Obviously you have to prevent caching)
You could also poll the Github API direclty on the client side via Javascript/jQuery (without giving the client an access token obviously) to display the status information, like that you could simply update issues on a public Github repo and the information would change accordingly on the site. With proper E-Tag checking, Github won't even count repeated API queries against the rate limit, which means that you could have the client automatically update the information in the frontend every few seconds.<p>With Gitboard I use the Github API in this way to display issues in a Kanban board, which works really nicely: <a href="https://adewes.github.io/gitboard" rel="nofollow">https://adewes.github.io/gitboard</a>
Keep in mind this is at its core just a static site generator, there's nothing stopping you from pushing the generated site to S3, or even just a random server, and hosting it there instead if you don't like Github's uptime.
Personally I prefer a service like <a href="http://status.io" rel="nofollow">http://status.io</a> - it's one less thing I need to maintain/etc.<p>Not to mention GitHub has had more than its fair share of outages.
Wow...<p>This looks <i>very</i> similar to Cachet [1]. Did you take inspiration from it?<p>[1] <a href="https://cachethq.io" rel="nofollow">https://cachethq.io</a>
Are there any decent open source status page systems that do the monitoring for you? I'm just looking for a basic ping or JSON response to automatically update the page for me. I'd like for the page to show there's a problem before I manually work it out for myself!
I built a static status page that you can host anywhere. I use it for various systems. Its ugly, but works as required. Uses bootstrap and jquery. so you can go crazy with it. Everything is self contained. No need to maintain it. Does need an endpoint for the status page to ping. YMMV.<p><a href="https://github.com/bliti/status-page" rel="nofollow">https://github.com/bliti/status-page</a>
And here it is a follow-up post with some shared experience: <a href="https://medium.com/@stanbright/how-to-set-up-a-free-status-page-on-github-5fc92f63d0f6#.amipcrr73" rel="nofollow">https://medium.com/@stanbright/how-to-set-up-a-free-status-p...</a>