How to export all your Pingdom export checks

export PINGD_AUTH="[the api key you generated in step 1]"for i in `curl -X GET https://api.pingdom.com/api/3.1/checks -H 'Authorization:Bearer $PINGD_AUTH' -s | jq -r .checks[].id`; docurl -X GET https://api.pingdom.com/api/3.1/checks/$i -H 'Authorization:Bearer $PINGD_AUTH' -s | jq -r '.check | .name + " " + .hostname + " " +.type.http.url'done
homepage example.com /
category example.com /category
article example.com /article
{"check": {"id": 1111111111,"name": "check name","resolution": 1,"sendnotificationwhendown": 6,"notifyagainevery": 0,"notifywhenbackup": true,"created": 11111111111,"type": {"http": {"verify_certificate": true,"url": "/","encryption": true,"port": 443,"requestheaders": {"User-Agent": "Pingdom.com_bot_version_1.4_(http://www.pingdom.com/)"}}},"hostname": "example.com","ipv6": false,"responsetime_threshold": 30000,"custom_message": "","integrationids": [11111],"lasterrortime": 1111111111111,"lasttesttime": 1111111111111,"lastresponsetime": 423,"lastdownstart": 1111111111111,"lastdownend": 1111111111111,"status": "up","tags": [],"probe_filters": ["region: EU"],"userids": [111111]}}

--

--

--

https://gomes.sh/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Create ‘Hang Man’ in Python

Rest API Load testing with Apache JMeter

Versioning Docker images with Gradle and Git

YJ co-founder and COO Pion Medvedeva: “To save the world, you have to make people smarter”.

Setup Windows build, Derive random seed from node’s private key, etc.

Popular Web Development Frameworks for 2019–20

Learn Golang Basic Syntax in 10 Minutes

Kubernetes Cluster Failure Resolved

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Pedro Gomes

Pedro Gomes

https://gomes.sh/

More from Medium

IBM Integration Bus migration to App Connect Enterprise

Let us Encrypt with SSL

Thesis Prep Audio Visual Script

Encryptions, Decryptions, and Ciphers, Oh My!

Vertical lines of green symbols and text traveling down a black background