#health-check #io #status #reporting #monitor #command

app healthchecks-monitor

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

11 stable releases

3.0.7 Jun 24, 2024
3.0.6 Aug 12, 2023
3.0.5 Jul 3, 2023
3.0.4 Jan 26, 2023
1.0.1 Jun 27, 2020

#1460 in Web programming

Download history 7/week @ 2024-09-14 36/week @ 2024-09-21 1/week @ 2024-09-28

564 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

~8–14MB
~177K SLoC