easy-pingdom

0.1.7 • Public • Published

Status: BETA

Easy Pingdom

Package containing scripts to automate configuration of Pingdom https checks. It can be easily integrated with travis.

Scripts:

  • bin/easy-pingdom.js query [options] - Query pingdom configuration
  • bin/easy-pingdom.js update [options] <input file> - Update configuration based on input file

Example

Setup or update checking of https://example.com site to your Pingdom configuration

git clone git@github.com:oakslab/easy-pingdom.git
cd easy-pingdom
npm install

export PD_USERNAME='me@example.com'       # Change to your pingdom login
export PD_PASSWORD='my pingdom password'  # Change to your pingdom password
export PD_KEY='my pingdom api key'        # Create API key here: https://my.pingdom.com/account/appkeys

# See what will be done
./bin/easy-pingdom.js update --no-paused --filter example examples/simple.js

# Update Pingdom configuration
./bin/easy-pingdom.js update --no-paused --filter example examples/simple.js --update

update.js

To get help run ./bin/easy-pingdom.js update --help

Updates all checks that has managed tag assigned. For reference see examples/advanced.js file.

query.js

To get help run ./bin/easy-pingdom.js query --help

Query configured checks from pingdom.com

License

Licensed under MIT license (see LICENSE for details)

/easy-pingdom/

    Package Sidebar

    Install

    npm i easy-pingdom

    Weekly Downloads

    1

    Version

    0.1.7

    License

    MIT

    Unpacked Size

    22.4 kB

    Total Files

    13

    Last publish

    Collaborators

    • jan.snasel