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

Databricks — PySpark for Big Data

How to Architect a Digital Backend System

Copy of Copy of [26] 29 Educational Viral Content Template [MASTER FILE] (2).png

MOBOX — GEM System

THIS WEEK ON AI CLASS

Next.JS dynamic image resizer is a game changer

Import Struct in Rust

Antiforgery Tokens Behind The Scenes

Implementing Scrum is like joining a gym

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

Reasons To Use Web Security For Quality Protection

eb Security For Quality Protection

SPF TESTING SERVICES

On Mobility (Part 3)

Cost Control in Private Cloud