Help using Pingdom API to export existing transaction checks (mainly uptime), and Posting the configuration to a separate Pingdom account

I could really use some help to with the Pingdom API to GET existing transaction checks (mainly uptime), and Posting the configuration to a separate Pingdom account. We are consolidating Pingdom accounts and have around 300 checks, so creating them manually is my worst nightmare.

Can anyone help to get me started with a basic template for a GET command to get all of the checks, then a POST command to create the checks with the existing configuration?


I'm not very good with the API commands, so any help would be greatly appreciated!

Parents
  • Get POstman https://www.postman.com/ - it will help with testing and running the API's, and it is free. You will need to log into both Pingdom webconsoles, click on settings, then pingdom API. Create read and readwrite tokens. Record them somewhere. 

    Pingdom API - this site does have pretty good documentation. 

    Call to get a list of uptime checks: api.pingdom.com/.../checks

    call to get details on each uptime check: https://api.pingdom.com/api/3.1/checks/xxxxxxx

    where xxxxxx is the ID of each check from the list checks. 

    You will want to look at the action and endpoint commands in the api calls too. 

    The pingdom api site offers good examples. Setting up postman with your token will make it easier to test and get output. Please look at the postman help - its pretty good. 

    Lastly, I am not a developer, but postman has been VERY useful in testing and dealign with all sorts of API stuff. 

Reply
  • Get POstman https://www.postman.com/ - it will help with testing and running the API's, and it is free. You will need to log into both Pingdom webconsoles, click on settings, then pingdom API. Create read and readwrite tokens. Record them somewhere. 

    Pingdom API - this site does have pretty good documentation. 

    Call to get a list of uptime checks: api.pingdom.com/.../checks

    call to get details on each uptime check: https://api.pingdom.com/api/3.1/checks/xxxxxxx

    where xxxxxx is the ID of each check from the list checks. 

    You will want to look at the action and endpoint commands in the api calls too. 

    The pingdom api site offers good examples. Setting up postman with your token will make it easier to test and get output. Please look at the postman help - its pretty good. 

    Lastly, I am not a developer, but postman has been VERY useful in testing and dealign with all sorts of API stuff. 

Children