healthchecks-monitor

Crates.iohealthchecks-monitor
lib.rshealthchecks-monitor
version3.0.7
sourcesrc
created_at2020-06-26 22:32:39.659025
updated_at2024-06-24 10:37:19.268151
descriptionmonitor runs a given command and reports its result to https://healthchecks.io
homepagehttps://github.com/msfjarvis/healthchecks-rs
repositoryhttps://github.com/msfjarvis/healthchecks-rs
max_upload_size
id258544
size25,471
Harsh Shandilya (msfjarvis)

documentation

README

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"
Commit count: 938

cargo fmt