StatusPage-UptimeRobot
is a simple flat PHP file that retrieve's UptimeRobot's sensors via their API and turns it into a professional service status page .
This project is designed to be a drag-and-drop solution used in conjunction with a provider like GitHub.io to provide an easy, off-site solution for labs and small service clusters.
Do not expect advanced features within this package due to the flat, one PHP file limitation!
1.0.2
StatusPage-UptimeRobot
uses a number of projects:
StatusPage-UptimeRobot
will run on any web-server that is capable of serving the HTML file. It is reccomended to host outside of your network for availability.
Save status.php
:
https://raw.githubusercontent.com/kmain4/StatusPage-UptimeRobot/master/status.php
Edit the configuration at the top of the file.
Add your Monitors' IDs to the categories
object on line 188
. You can find your Monitor IDs by clicking on them in the UptimeRobot website and looking at your URL. Also add your API Key.
Example: https://uptimerobot.com/dashboard.php#888246374
The ID for this Monitor is 888246374
.
Head over to GitHub and create a new repository named username.github.io
, where username is your username (or organization name) on GitHub. If the first part of the repository doesn’t exactly match your username, it won’t work, so make sure to get it right!
Finally, simply push status.php
to your repository and rename it to index.php
.
You can also use GitHub.io pages with custom domains like status.constoso.com
. Read more about it here.