#healthchecks-api #monitor #healthchecks #bin #cli #retry #shell #command #user-agent #healthcheck

app healthchecks-monitor

monitor runs a given command and reports its result to https://healthchecks.io

10 stable releases

3.0.6 Aug 12, 2023
3.0.5 Jul 3, 2023
3.0.4 Jan 26, 2023
3.0.3 Oct 26, 2022
1.0.1 Jun 27, 2020

#40 in HTTP client

Download history 21/week @ 2023-08-18 23/week @ 2023-08-25 10/week @ 2023-09-01 20/week @ 2023-09-08 3/week @ 2023-09-15 14/week @ 2023-09-22 6/week @ 2023-09-29 4/week @ 2023-10-06 11/week @ 2023-10-13 15/week @ 2023-10-20 20/week @ 2023-10-27 3/week @ 2023-11-03 1/week @ 2023-11-10 1/week @ 2023-11-17 12/week @ 2023-11-24 53/week @ 2023-12-01

67 downloads per month

MIT/Apache

51KB
668 lines

monitor

Simple binary that's designed to execute arbitrary tasks and notify a provided healthchecks.io check about their status.

Usage

Execute a shell command

HEALTHCHECKS_CHECK_ID=<check_id> healthchecks-monitor -X "sleep 10"

Track execution time at healthchecks.io

HEALTHCHECKS_CHECK_ID=<check_id> healthchecks-monitor -tX "sleep 10"

Use a custom user agent for reporting

HEALTHCHECKS_USERAGENT=crontab HEALTHCHECKS_CHECK_ID=<check_id> healthchecks-monitor -tX "sleep 10"

Dependencies

~5–7MB
~154K SLoC