pingr-rails is a rails plugin for accessing the Pingdom API using Pingr
Install the soap4r (and thor gems if you want to use the command line version).
You will need to create a “pingdom.yml” file the config directory. It should look like:
:username: someemail@example.com
:password: YourPingdomPassword
:api_key: 13c9a18ee27cafebabe4a72dead3beef
Obviously replace your email/login, password, and Pingdom API keys appropriately.
You can then call methods on the PingrRails class
e.g.
PingrRails.current_states
available methods:
- downtime_summary(check, from, to)
- responsetime_summary(check, from, to, resolution = Report_ResolutionEnum::DAILY, locs = nil)
- outages(check, from, to, page=nil)
- raw_data(check, from, to, page=nil)
- checks
- locations
- current_states
last_outages