healthchecks-rs/monitor
Harsh Shandilya c5565b4c04
chore(release): bump healthchecks-monitor to version 3.0.6
2023-08-12 16:43:24 +05:30
..
src fix(monitor): only retain the last execution log 2022-10-26 23:46:59 +05:30
CHANGELOG.md hcctl/monitor: add changelog entries 2023-07-03 14:10:15 +05:30
Cargo.toml chore(release): bump healthchecks-monitor to version 3.0.6 2023-08-12 16:43:24 +05:30
README.md all: update README 2020-11-23 15:47:19 +05:30

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"