A CLI interface to healthchecks.io
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hchk
.gitignore
README.md
setup.cfg
setup.py
tox.ini

README.md

healthchecks.io CLI

A CLI interface to healthchecks.io

Installation

Run:

$ pip install hchk

Usage

See available commands:

$ hchk --help

Create your healthchecks.io API key in your settings page.

Save the API key on your target system. Your API key will be saved in a plain text configuration file $HOME/.hchk

$ hchk setkey YOUR_API_KEY

Create a check with custom name, tags, period and grace time, and then ping it:

$ hchk ping -n "My New Check" -t "web prod" -p 600 -g 60

The check will be created if it does not exist, and its ping URL will be saved in $HOME/.hchk.