mirror of
https://github.com/msfjarvis/healthchecks-rs.git
synced 2024-06-02 20:18:13 +05:30
.. | ||
src | ||
Cargo.toml | ||
CHANGELOG.md | ||
README.md |
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"