{"id":17623632,"url":"https://github.com/m1/netcheck","last_synced_at":"2026-01-19T13:33:18.212Z","repository":{"id":225731950,"uuid":"766702290","full_name":"m1/netcheck","owner":"m1","description":"Netcheck is a tool to check the availability of a group of network connections","archived":false,"fork":false,"pushed_at":"2024-06-10T19:00:47.000Z","size":253,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T01:22:40.091Z","etag":null,"topics":["monitoring","network","observability"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m1.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":"2024-03-04T00:31:57.000Z","updated_at":"2024-03-04T00:33:21.000Z","dependencies_parsed_at":"2024-12-20T13:22:40.509Z","dependency_job_id":"87bc720d-7736-40bb-90cf-bb99a111a79a","html_url":"https://github.com/m1/netcheck","commit_stats":{"total_commits":53,"total_committers":2,"mean_commits":26.5,"dds":0.07547169811320753,"last_synced_commit":"99b09cbf34ec6a531a22f165e12b84085af99ac7"},"previous_names":["m1/netcheck"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/m1/netcheck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1%2Fnetcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1%2Fnetcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1%2Fnetcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1%2Fnetcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m1","download_url":"https://codeload.github.com/m1/netcheck/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1%2Fnetcheck/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28569234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T12:50:50.164Z","status":"ssl_error","status_checked_at":"2026-01-19T12:50:42.704Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["monitoring","network","observability"],"created_at":"2024-10-22T21:11:24.542Z","updated_at":"2026-01-19T13:33:18.195Z","avatar_url":"https://github.com/m1.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# netcheck\n\nNetcheck is a tool to check the availability of a group of network connections.\n\nExposes metrics for Prometheus so can be used to monitor the availability of a network and alert (via alertmanager) when\nit is not available.\n\n## Use cases\n\n- Check if a list of networks/services are available.\n- Check if an internal network can reach an external network (This was used internally to check if a kubernetes cluster\n  and istio mesh can readily and repeatability\n  reach an external network and alert when it can not).\n- Check if a network is available from a specific location.\n- Simple pingdom/uptime alternative.\n- This is **not** intended to replace a full monitoring solution, but as part of your network availability tooling.\n- This is **not** intended to be used as a load testing (ie ab, siege, wrk etc) tool.\n\n## Usage\n\nSuggested usage is to run this as a docker container and use the provided chart to deploy to kubernetes.\n\nFor local usage you can run the following:\n\n```shell\n./netcheck run --help\nRuns the netcheck service and checks the network using the passed targets\n\nUsage: cli run [OPTIONS]\n\nOptions:\n  -D, --debug \u003cDEBUG\u003e\n          [possible values: true, false]\n\n  -t, --target \u003cTARGET\u003e\n          List of targets to check if a network connection is attainable\n          \n          [default: external=https://one.one.one.one,https://dns.google]\n\n      --connect \u003cCONNECT_TIMEOUT_MS\u003e\n          Connect timeout milliseconds to be considered a failure\n          \n          [default: 500]\n\n  -v, --verbose \u003cVERBOSE\u003e\n          [possible values: true, false]\n\n  -l, --log-level \u003cLOG_LEVEL\u003e\n          \n\n      --timeout \u003cTIMEOUT_MS\u003e\n          Timeout milliseconds to be considered a failure\n          \n          [default: 500]\n\n  -w, --wait \u003cWAIT_TIME_SECONDS\u003e\n          Time to wait between requests in seconds\n          \n          [default: 2]\n\n      --failure-threshold \u003cFAILURE_THRESHOLD\u003e\n          Failures in a row to determine if target is failing\n          \n          [default: 5]\n\n  -h, --help\n          Print help (see a summary with '-h')\n```\n\nExample, targetting an external network, and an internal network:\n\n```shell\n./netcheck run --target external=https://one.one.one.one,https://dns.google --target internal=http://hellosvc.test.svc.cluster.local:9111,http://hello2svc.test.svc.cluster.local:9111\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1%2Fnetcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1%2Fnetcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1%2Fnetcheck/lists"}