PingdomLib 2.0.3

This is a python library to provide full access to the pingdom API, along with
a few additional features to make using the API easier and pythonic.

Usage examples

Connecting to pingdom

importpingdomlibapi=pingdomlib.Pingdom(username,password,apikey)

Show all checks that are not in ‘UP’ status

# See pingdomlib.pingdom documentation to see available calls and settingspingdomchecks=api.getChecks()forcheckinpingdomchecks:# See pingdomlib.check documentation for information on PingdomCheck classifcheck.status!='up':printcheck

Creating a new check

newcheck=api.newCheck("New check name","www.hostnametocheck.com")

Updating a check

# Updates to check objects are pushed immediately to pingdomnewcheck.paused=True