thedigitaloctopus / pingdom-cli

Command line interface for Pingdom's REST API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command Line Interface for Pingdom REST API

Description

Simple command line interface for the Pingdom REST API.

Dependencies

Configuration

Edit the file named "auth.json" with your Pingdom username, password and API key.

Usage

pingdom-cli COMMAND CHECK_NAME [PARAMS]

Commands:

add
add a site check
delete
delete a check by name
info
get JSON dump of check info
modify
modify a check
listnames
list all check names
listids
list all check ids

Examples:

# List checks
pingdom-cli listnames
# Add check
pingdom-cli add www.example.com
# Get check info
pingdom-cli info www.example.com
# Modifiy a check, in this case, pause it
pingdom-cli modify www.example.com '{"paused": true}'
# Delete check
pingdom-cli delete www.example.com

About

Command line interface for Pingdom's REST API


Languages

Language:Python 100.0%