Dashing widget to display Pingdom Uptime of selected check
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dashboards
jobs
screenshot
widgets/pingdomuptime
LICENSE
README.md

README.md

dashing-pingdom-uptime

Dashing (http://shopify.github.io/dashing/) widget to display Pingdom Uptime of selected check

I'm sorry if the code is not very good, but I have never use ruby before and I'm not a developer, so please be indulgent with me

##Dependencies

rest-client

Add it to dashing's gemfile:

gem 'rest-client'

and run bundle install. Everything should work now :)

How to use it

Put this file pingdomuptime.rb on jobs folder

Put the directory pingdomuptime on widgets folder

Personnalize pingdomuptime.rb file and enjoy !!!

##Settings

Modify the file pingdomuptime.rb and adapt this value :

api_key = ENV['PINGDOM_API_KEY'] || ''
user = ENV['PINGDOM_USER'] || ''
password = ENV['PINGDOM_PASSWORD'] || ''

You can choose to filter what you want to monitor, it's based to check name (If you put nothing, you will get all checks)

checkName = "toto"

## Adding this widget to your dashboard

To include the widget in a dashboard, add the following snippet to the dashboard layout file :

<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
 <div data-id="pingdomuptime" data-view="Pingdomuptime" data-title="Pingdom Uptime" data-moreinfo="more-info" data-suffix="%"></div>
</li>

Appearance

alt tag

Contributor

This widget was made by Pierre-Yves Dubreucq with the support of Odiso

This widget was inspired by this https://gist.github.com/jwalton/6625777

Pingdom is a trademark https://www.pingdom.com/

Licence

This widget is under GPL v3 Licence

http://www.gnu.org/copyleft/gpl.html