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

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

#7 in #reports

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

~7.5–10MB
~206K SLoC