{"id":19196037,"url":"https://github.com/acj/pinger","last_synced_at":"2025-06-28T14:33:46.135Z","repository":{"id":66824273,"uuid":"128566506","full_name":"acj/pinger","owner":"acj","description":"Simple tool for repeatedly pinging a host and reporting the round-trip time to Datadog","archived":false,"fork":false,"pushed_at":"2018-04-07T20:53:46.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-04T09:08:46.670Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/acj.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":"2018-04-07T20:41:00.000Z","updated_at":"2018-04-07T20:53:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"943088bb-078b-47f0-9682-26de26f341c4","html_url":"https://github.com/acj/pinger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acj%2Fpinger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acj%2Fpinger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acj%2Fpinger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acj%2Fpinger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acj","download_url":"https://codeload.github.com/acj/pinger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240271519,"owners_count":19774859,"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-11-09T12:12:17.359Z","updated_at":"2025-02-23T04:43:03.932Z","avatar_url":"https://github.com/acj.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pinger\n\nPings a host reapeatedly and reports the round-trip times to Datadog.\n\n## Getting Started\n\n#### Bare Metal\n\n```\n$ go get github.com/DataDog/datadog-go/statsd\n$ go get github.com/tatsushid/go-fastping\n$ go build pinger.go\n$ ./pinger\n```\n\nIf you're running pinger as a non-root user, you may need to use `sudo ./pinger` because the ICMP pings require raw socket access.\n\n#### Docker\n\n```\n$ docker pull acjensen/pinger\n$ docker run -it pinger\n```\n\n### Configuring\n\n```\n$ ./pinger -h\nUsage of ./pinger:\n  -interval int\n        Ping interval in milliseconds. Also serves as timeout. (default 2000)\n  -metric string\n        Metric name (default \"udp_ping\")\n  -namespace string\n        StatsD namespace for metrics (default \"pinger.\")\n  -ping_host string\n        The host to ping (default \"localhost\")\n  -statsd_host string\n        The StatsD host and port to use for metrics (default \"0.0.0.0:8125\")\n```\n\nOptions can be passed to Docker with `-e`, for example:\n\n```\n$ docker run -it -e STATSD_HOST=192.168.1.10:8125 pinger\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facj%2Fpinger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facj%2Fpinger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facj%2Fpinger/lists"}