pingdom-status-board-panel
pingdom-status-board-panel copied to clipboard
Display the current status of a Pingdom check on Panic's Status Board.
Pingdom Status Board Panel
This web application can be used to pull in the current status of a service check from the Pingdom service and display it on your Status Board.
Configuration
To configure your own instance of this panel, you should be familiar with running Sinatra or Ruby on Rails instances. Of course, if you are not familiar with setting up and running a Sinatra web application, the easiest route is to use Heroku.
Please reference this tutorial for more information about deploying to Heroku.
Defining Your Credentials
In addition to your email and password, you will need to get an application key from the Pingdom control panel.
Once you have your application key, you should update the app.rb
file to
include it, along with your credentials, like so:
set :email, "<your Pingdom email address>"
set :password, "<your Pingdom password>"
set :app_key, "<your Pingdom application key>"
Alternatively, you may set the PINGDOM_EMAIL
, PINGDOM_PASSWORD
and
PINGDOM_APP_KEY
in the application's environment (i.e. using heroku config:set
).
Defining the app key is optional, however, as you can also pass it to the app with the app_key request parameter. For example:
https://<your-deployment-location>/check/<your-check-id>?app_key=<your-app-key>
Usage
The only supported endpoint is the Check endpoint. To use, simply add a custom panel to your Status Board with a URL similar to the following:
https://<your-deployment-location>/check/<your-check-id>
If you have not specified your application key in app.rb
, your URL should
look like:
https://<your-deployment-location>/check/<your-check-id>?app_key=<your-app-key>
Author
Developed by Justin Mecham (email, twitter).
License
This project is licensed under the terms of the MIT License.