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
564 downloads per month
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