We've recently started experimenting with iron.io's worker service to check and Rackspace's Status Page and set it on the Avatar Status Page. We wanted to provide our clients with up to date status information on our various infrastructure components. StatusPage.io does this for amazon and several other components which we use in our infrastructure (mailgun, datadog, etc) but it was missing something crucial. Rackspace! So we rolled our own.
- We started off by using jjasghar's nagios-status-rackspace scripts to parse the rackspace status page for the components we used in the ORD datacenter.
- Once we had the status's for each of our components stored, we simply used the StatusPage.io Component API to change the status accordingly.
- Lastly, we used the iron.io worker to upload and run our our task every 10mins (adjust according to your liking)
$ iron_worker upload hello $ iron_worker schedule --run-every 600 rackspace_statuspage.sh
Check out your page. It should match what rackspace is showing. To see it in action, visit our status page: http://status.avatarnewyork.com