#health-check #io #account #command-line-tool #api-key #ping

app hcctl

Command-line tool for interacting with a https://healthchecks.io account

10 stable releases

2.0.8 Aug 12, 2023
2.0.7 Jul 3, 2023
2.0.6 Jan 26, 2023
2.0.5 Oct 26, 2022
1.0.0 Nov 21, 2020

#2 in #healthcheck

Download history 32/week @ 2024-02-21 19/week @ 2024-02-28 2/week @ 2024-03-06 5/week @ 2024-03-13 23/week @ 2024-03-27 30/week @ 2024-04-03

53 downloads per month

MIT/Apache

54KB
745 lines

hcctl

Simple CLI tool to keep a track of your https://healthchecks.io account

Usage

List all your current checks

HEALTHCHECKS_TOKEN=<API key> hcctl list

 ID         | Name                  | Last Ping
------------+-----------------------+-----------------------------------
 <redacted> | gitout_sync           | 0 hour(s) and 3 minute(s) ago
 <redacted> | dl_msfjarvis_dev_sync | 0 hour(s) and 4 minute(s) ago
 <redacted> | email_sync            | 0 hour(s) and 4 minute(s) ago

List the 10 latest pings from a check

HEALTHCHECKS_TOKEN=<API key> hcctl pings <check_id>

 Number | Time       | Type    | Duration
--------+------------+---------+------------
 #22280 | 21/11 6:0  | success | 29.384 sec
 #22279 | 21/11 6:0  | start   |
 #22278 | 21/11 5:45 | success | 29.814 sec
 #22277 | 21/11 5:45 | start   |
 #22276 | 21/11 5:30 | success | 31.149 sec
 #22275 | 21/11 5:30 | start   |
 #22274 | 21/11 5:15 | success | 30.364 sec
 #22273 | 21/11 5:15 | start   |
 #22272 | 21/11 5:0  | success | 31.320 sec
 #22271 | 21/11 5:0  | start   |

Dependencies

~11MB
~221K SLoC