{"id":15568530,"url":"https://github.com/cetanu/cmdprobe","last_synced_at":"2025-03-16T12:45:30.753Z","repository":{"id":189973590,"uuid":"681693334","full_name":"cetanu/cmdprobe","owner":"cetanu","description":"Portable, configurable health check utility","archived":false,"fork":false,"pushed_at":"2023-08-29T15:17:03.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T06:55:25.011Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cetanu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-22T14:51:51.000Z","updated_at":"2024-03-26T03:13:50.000Z","dependencies_parsed_at":"2024-11-22T12:28:44.543Z","dependency_job_id":null,"html_url":"https://github.com/cetanu/cmdprobe","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"a3021799481bd060d70f519a36e9a04d37badf24"},"previous_names":["cetanu/cmdprobe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cetanu%2Fcmdprobe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cetanu%2Fcmdprobe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cetanu%2Fcmdprobe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cetanu%2Fcmdprobe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cetanu","download_url":"https://codeload.github.com/cetanu/cmdprobe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243871650,"owners_count":20361378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T17:16:40.519Z","updated_at":"2025-03-16T12:45:30.730Z","avatar_url":"https://github.com/cetanu.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cmdprobe\nA utility for running arbitrary commands and checking their output\n\n\n## Install\n```shell\ncargo install cmdprobe\n```\n\n\n## Usage\n\n### Basic execution\nSee the example `cmdprobe.yaml` file for what configuration is available.\n\nConstruct your own configuration file, and then run cmdprobe against it to execute\nall the checks that you need to do.\n\n```shell\ncmdprobe --config-file /etc/cmdprobe.yml\n```\n\n### Emitting statsd metrics\nYou can supply a statsd host and `cmdprobe` will emit metrics for each test \u0026 stage.\n\n```shell\ncmdprobe --config-file /etc/cmdprobe.yml --statsd-address 127.0.0.1:8125\n```\n\nThe following metrics will be emitted:\n\n```\n# Did the entire probe run fail/succeed\ncmdprobe.probe.failed\ncmdprobe.probe.passed\n\n# Did one check (a collection of stages) fail/succeed\ncmdprobe.check.failed\ncmdprobe.check.passed\n\n# Did an indidivual stage within a check fail/succeed\ncmdprobe.stage.failed\ncmdprobe.stage.passed\n```\n\n\n## Running locally\nEnsure you have a `cmdprobe.yaml` file in the current directory\n\n```shell\n# Start the httpbin for testing\ndocker-compose up -d\n\n# Run cmdprobe with the local config file\nRUST_LOG=cmdprobe=INFO cargo run\n```\n\n## Inspiration\n\nI modelled this tool after [Tavern](https://taverntesting.github.io/) so that my\nteam would have an easy time understanding how to use it and migrate existing tests across.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcetanu%2Fcmdprobe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcetanu%2Fcmdprobe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcetanu%2Fcmdprobe/lists"}