Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.05 KB

README.md

File metadata and controls

38 lines (22 loc) · 1.05 KB

healthchecks.io CLI

Not Maintained

A CLI interface to healthchecks.io. This project is not maintained, and I currently have no plans to develop it further. For alternative, better, and actively maintained CLI tools, please see Third-Party Resources on 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.